Skip to content

Commit

Permalink
replace 'in fns' by 'fns==' check
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Jan 25, 2024
1 parent 86396bd commit f6c7197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yadism/input/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def update_fns(theory):
if fns == "ZM-VFNS":
for fl in hqfl:
theory[f"ZM{fl}"] = True
elif "FONLL" in fns:
elif fns == "FONLL-FFNS" or fns == "FONLL-FFN0":
# enforce correct settings moving all thresholds to 0 or oo
for k, fl in enumerate(hqfl):
if k + 4 <= nf:
Expand All @@ -126,7 +126,7 @@ def update_fns(theory):
# to produce FONLL
theory[f"k{fl}Thr"] = np.inf
theory[f"ZM{fl}"] = False
elif "FFN" in fns:
elif fns == "FFNS" or fns == "FFN0":
# enforce correct settings moving all thresholds to 0 or oo
for k, fl in enumerate(hqfl):
if k + 4 <= nf:
Expand Down

0 comments on commit f6c7197

Please sign in to comment.