From cc5ca1e912d6b287a77a1cb2789ef934dc4772ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 28 Jun 2011 11:32:39 +0200 Subject: Plot wrongness against gradient --- tests/pr_gradient_check.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/pr_gradient_check.c') diff --git a/tests/pr_gradient_check.c b/tests/pr_gradient_check.c index 4dbf3f50..8a3c0a02 100644 --- a/tests/pr_gradient_check.c +++ b/tests/pr_gradient_check.c @@ -217,7 +217,9 @@ static int test_gradients(struct image *image, double incr_val, int refine, fprintf(fh, "%e %f\n", //resolution(image->indexed_cell, h, k, l), - rad2deg(tt), fabs((grad-cgrad)/grad)); + //rad2deg(tt), + cgrad, + fabs((grad-cgrad)/grad)); } -- cgit v1.2.3