From: eap Date: Fri, 15 May 2020 15:20:20 +0000 (+0300) Subject: #19112 EDF - HYBRIDPLUGON_layersimprinting fails X-Git-Tag: V9_5_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd7c45112d801acfdc200a5fafb3e86837c90608;p=plugins%2Fhybridplugin.git #19112 EDF - HYBRIDPLUGON_layersimprinting fails --- diff --git a/tests/layers_imprinting.py b/tests/layers_imprinting.py index be4c13d..df2ef75 100644 --- a/tests/layers_imprinting.py +++ b/tests/layers_imprinting.py @@ -241,7 +241,7 @@ for geom_group in geom_groups: mesh_3_volume = Mesh_3.GetVolume() volume_error_3 = abs(mesh_2_volume-mesh_3_volume)/mesh_2_volume -assert abs(mesh_3_volume-mesh_2_volume)/mesh_2_volume < 1e-10 +assert math.isclose(mesh_3_volume,mesh_2_volume,rel_tol=1e-7) # Check viscous layers with imprinting for name in faces_imprinted: