Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Oct 3, 2023
1 parent a2998a3 commit 1b310eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pineko/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def is_dis(lumi):
bool
true if the fktable is a DIS fktable
"""
for lists in lumi:
for el in lists:
for entry in lumi:
for el in entry:
if (not islepton(el[0])) and (not islepton(el[1])):
# If neither of the incoming particles is a lepton we are sure
# it is not DIS
Expand Down
4 changes: 2 additions & 2 deletions src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard):
)
# If we are producing num_fonll FKs we need to look to NfFF...
if check.is_num_fonll(tcard["FNS"]):
nfff = tcard["NfFF"]
operators_card["mugrid"] = [(float(np.sqrt(q2)), int(nfff)) for q2 in q2_grid]
nf = tcard["NfFF"]
operators_card["mugrid"] = [(float(np.sqrt(q2)), int(nf)) for q2 in q2_grid]
else:
operators_card["mugrid"] = [
(float(np.sqrt(q2)), int(nf_default(q2, atlas))) for q2 in q2_grid
Expand Down

0 comments on commit 1b310eb

Please sign in to comment.