commit 3055a9c4b91775e5ab1bc82f1e68521773227e2c
parent f352adc50b527c831c9b0b3daafc35fc74166cb3
Author: Thomas Vourc'h <thomas.vourc-h@sigma-clermont.fr>
Date: Tue, 7 Apr 2026 10:36:29 +0200
Increase of the tolerance of the errorbar in test
Use 3 sigma instead of 2 comparing star-phor results to analytic solution.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test_sphor_MVREA_btdf_lambertian.c b/src/test_sphor_MVREA_btdf_lambertian.c
@@ -263,7 +263,7 @@ int main(int argc, char** argv)
* that reaches the absorbing surface, weighted by the surface area ratio of
* the emitting surface and the absorbing surface.
*/
- CHK(eq_eps(avg, 0.4152532835771472, 2 * std_err));
+ CHK(eq_eps(avg, 0.4152532835771472, 3 * std_err));
/* Verify second level: per surface losses */
CHK(txtrdr_read_line(txtrdr) == RES_OK);
@@ -275,7 +275,7 @@ int main(int argc, char** argv)
token = strtok_r(NULL, ":", &token_ptr);
CHK(cstr_to_double(token, &avg) == RES_OK);
CHK(cstr_to_double(token_ptr, &std_err) == RES_OK);
- CHK(eq_eps(avg, 0.4152532835771472, 2 * std_err));
+ CHK(eq_eps(avg, 0.4152532835771472, 3 * std_err));
CHK(fclose(fp) == 0);