From e4256bb455c1fbb3de8bf0ed63067c0f009028b4 Mon Sep 17 00:00:00 2001 From: Christophe Pinte Date: Fri, 31 May 2024 20:13:22 +1000 Subject: [PATCH] Fixing typo --- test_suite/test_mcfost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_suite/test_mcfost.py b/test_suite/test_mcfost.py index 6d634ff4..7d6a0e6e 100644 --- a/test_suite/test_mcfost.py +++ b/test_suite/test_mcfost.py @@ -189,7 +189,7 @@ def test_image(model_name, wl): image_ref = image_ref[0,:,:,:,:] threshold=0.1 - if ((model_name == "ref3.0") and (wl == "100"): # weird difference on linux, ifort, openmp=no, release=no + if (model_name == "ref3.0") and (wl == "100"): # weird difference on linux, ifort, openmp=no, release=no threshold=0.11 assert MC_similar(image_ref,image,threshold=threshold) @@ -262,7 +262,7 @@ def test_contrib(model_name, wl): mask_threshold=1e-23 threshold=0.1 - if ((model_name == "ref3.0") and (wl == "100"): # weird difference on linux, ifort, openmp=no, release=no + if (model_name == "ref3.0") and (wl == "100"): # weird difference on linux, ifort, openmp=no, release=no threshold=0.11 assert MC_similar(image_ref,image,threshold=threshold,mask_threshold=mask_threshold)