diff options
author | Thomas White <taw@physics.org> | 2011-06-28 11:32:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:30 +0100 |
commit | cc5ca1e912d6b287a77a1cb2789ef934dc4772ce (patch) | |
tree | 69252f795723774644aa480f88ae36a4c1d8b5cb | |
parent | 596e477b618e2b88d537a7b7347b146cd0fc285c (diff) |
Plot wrongness against gradient
-rw-r--r-- | tests/pr_gradient_check.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); } |