Skip to content

Commit 0bb666a

Browse files
Remove unnecessary grid.optimize
1 parent 10d0a05 commit 0bb666a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/pineko/cli/check.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def sub_compatibility(grid_path, operator_path, xif, max_as, max_al):
3838
3939
"""
4040
pineappl_grid = pineappl.grid.Grid.read(grid_path)
41-
pineappl_grid.optimize()
4241
with eko.EKO.read(pathlib.Path(operator_path)) as operators:
4342
for (q2, _), _ in operators.items():
4443
try:

src/pineko/cli/convolve.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def subcommand(
7171
The PDFs are passed as strings with the names separated by commas.
7272
"""
7373
grid = pineappl.grid.Grid.read(grid_path)
74-
grid.optimize()
7574
n_ekos = len(op_paths)
7675
with eko.EKO.edit(pathlib.Path(op_paths[0])) as first_operator:
7776
operators = [first_operator]

src/pineko/evolve.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def write_operator_card_from_file(
105105
if not pathlib.Path(pineappl_path).exists():
106106
raise FileNotFoundError(pineappl_path)
107107
pineappl_grid = pineappl.grid.Grid.read(pineappl_path)
108-
pineappl_grid.optimize()
109108
default_card = yaml.safe_load(
110109
pathlib.Path(default_card_path).read_text(encoding="utf-8")
111110
)

0 commit comments

Comments
 (0)