aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-28 11:31:08 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:30 +0100
commit596e477b618e2b88d537a7b7347b146cd0fc285c (patch)
tree0353d42ecc18c5ab043e661bbcf88afab4774fd9
parent2a42d7f73d2e301d702f256f17b46ce84ec0fdae (diff)
Record all wrongnesses
-rw-r--r--tests/pr_gradient_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pr_gradient_check.c b/tests/pr_gradient_check.c
index 22894079..4dbf3f50 100644
--- a/tests/pr_gradient_check.c
+++ b/tests/pr_gradient_check.c
@@ -158,7 +158,7 @@ static int test_gradients(struct image *image, double incr_val, int refine,
calc_either_side(image, incr_val, valid, vals, refine);
- fh = fopen("wrongness.dat", "w+");
+ fh = fopen("wrongness.dat", "a");
n_valid = nref; n_acc = 0;
i = 0;