From c93ef0935428275e9603cf09fa7b8923550128e9 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Tue, 28 May 2019 14:31:46 +0200 Subject: [PATCH] Increase tolerance in test area to success with MeshGems 2.9 --- tests/layers_imprinting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/layers_imprinting.py b/tests/layers_imprinting.py index 8187bf3..f605929 100644 --- a/tests/layers_imprinting.py +++ b/tests/layers_imprinting.py @@ -199,7 +199,7 @@ for name in faces_imprinted: assert area_error_1 < 0.025 # Compare mesh group with imprinting and mesh group without imprinting area_error_2 = abs(smesh.GetArea(gr_1)-smesh.GetArea(gr_2))/smesh.GetArea(gr_1) - assert area_error_2 < 1e-10 + assert area_error_2 < 1e-08 # Compare whole mesh volume mesh_2_volume = Mesh_2.GetVolume() -- 2.39.2