aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5851e744..0bade784 100644
--- a/tests/pr_gradient_check.c
+++ b/tests/pr_gradient_check.c
@@ -193,7 +193,7 @@ static int test_gradients(struct image *image, double incr_val, int refine,
get_partial(refl, &r1, &r2, &p, &cl, &ch);
- if ( (fabs(cgrad) > 1e-9) &&
+ if ( (fabs(cgrad) > 5e-8) &&
!within_tolerance(grad, cgrad, 10.0) )
{