Skip to content

Commit

Permalink
Merge pull request #257 from NNPDF/fix_fonll_check
Browse files Browse the repository at this point in the history
replace 'in fns' by 'fns==' check in `update_fns`
  • Loading branch information
RoyStegeman authored Jan 26, 2024
2 parents 86396bd + f6c7197 commit ff2887c
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 ff2887c

Please sign in to comment.