Skip to content

Commit 147d3c9

Browse files
committed
Refactor Grid::merge
1 parent ba8a00f commit 147d3c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pineappl/src/grid.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ impl Grid {
467467
return Err(Error::General("scales do not match".to_owned()));
468468
}
469469

470-
let mut new_orders: Vec<Order> = Vec::new();
471-
let mut new_bins: Vec<Bin> = Vec::new();
472-
let mut new_entries: Vec<Channel> = Vec::new();
470+
let mut new_orders = Vec::new();
471+
let mut new_bins = Vec::new();
472+
let mut new_entries = Vec::new();
473473

474474
for ((i, j, k), subgrid) in other.subgrids.indexed_iter_mut() {
475475
let other_order = &other.orders[i];

0 commit comments

Comments
 (0)