aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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;