commit 746e2d782a8f818623b5fd3808e4597d20f58d4a
parent bb4fc3fe742c311a2fe16f0427c49e79deb68112
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 27 Feb 2018 15:21:02 +0100
Change accuracy requierement on a test (from 1 SE to 3 SE).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_s2d_scene_view2.c b/src/test_s2d_scene_view2.c
@@ -281,7 +281,7 @@ main(int argc, char** argv)
V = sum_sqr / (float)NSAMPS - E*E;
SE = (float)sqrt(V/(float)NSAMPS);
printf("PI*S / P = %g ~ %g +/- %g\n",(float)PI*area / length, E, SE);
- CHK(eq_epsf((float)PI*area / length, E, SE) == 1);
+ CHK(eq_epsf((float)PI*area / length, E, 3*SE) == 1);
CHK(s2d_scene_view_ref_put(scnview) == RES_OK);