]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
Increase tolerance in test area to success with MeshGems 2.9
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Tue, 28 May 2019 12:31:46 +0000 (14:31 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Tue, 28 May 2019 12:31:46 +0000 (14:31 +0200)
tests/layers_imprinting.py

index 8187bf396deffa6b469f34822617fbfff125db66..f605929f439e821b83dac15c11b388ed592a4404 100644 (file)
@@ -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()