Skip to content

Commit 54f6207

Browse files
Fix duplication
1 parent ffe1ca6 commit 54f6207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pineappl/src/grid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ impl Grid {
16421642
new_grid.metadata = self.metadata.clone();
16431643

16441644
new_grid.optimize_using(GridOptFlags::STRIP_EMPTY_ORDERS);
1645-
new_grid.optimize_using(GridOptFlags::STRIP_EMPTY_ORDERS);
1645+
new_grid.optimize_using(GridOptFlags::STRIP_EMPTY_CHANNELS);
16461646
new_grid.optimize_using(GridOptFlags::MERGE_SAME_CHANNELS);
16471647

16481648
Ok(new_grid)

0 commit comments

Comments
 (0)