Skip to content

Commit

Permalink
other grid optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Nov 6, 2024
1 parent 2066fa6 commit d875d39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/pineko/cli/convolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def subcommand(
PDF is an optional PDF set compatible with the EKO to compare grid and FK table.
"""
grid = pineappl.grid.Grid.read(grid_path)
grid.optimize()
n_ekos = len(op_paths)
with eko.EKO.edit(op_paths[0]) as operators1:
rich.print(
Expand Down
1 change: 0 additions & 1 deletion src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard):
"""
# Add a +1 to the orders for the difference in convention between nnpdf and pineappl
# NB: This would not happen for nFONLL
pineappl_grid
is_fns = int(check.is_fonll_mixed(tcard["FNS"], pineappl_grid.channels()))
max_as = 1 + tcard["PTO"] + is_fns
max_al = 1 + tcard["QED"]
Expand Down

0 comments on commit d875d39

Please sign in to comment.