Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinte committed May 31, 2024
1 parent 101627d commit e4256bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_suite/test_mcfost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

0 comments on commit e4256bb

Please sign in to comment.