commit b83dc26dc577763bf2c472e8666c398f7916eed1
parent 599b0523dc28a4b2ba9550ff80e5222b9cefab2e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 9 Nov 2022 09:04:19 +0100
Thighten precision checks of barycentric coordinates
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rnatm_properties.c b/src/rnatm_properties.c
@@ -131,7 +131,7 @@ check_rnatm_cell_get_radcoef_args
+ args->barycentric_coords[1]
+ args->barycentric_coords[2]
+ args->barycentric_coords[3];
- if(!eq_eps(sum_bcoords, 1, 1.e-4))
+ if(!eq_eps(sum_bcoords, 1, 1.e-6))
return RES_BAD_ARG;
/* Invalid band index */