Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions neopdf/src/converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,7 @@ pub fn combine_lhapdf_npdfs<P: AsRef<std::path::Path>>(
};
combined_subgrids.push(new_subgrid);
}
let combined_grid = GridArray {
pids: pids.clone(),
subgrids: combined_subgrids,
};
let combined_grid = GridArray::from_parts(pids.clone(), combined_subgrids);
combined_grids.push(combined_grid);
}

Expand Down Expand Up @@ -311,10 +308,7 @@ pub fn combine_lhapdf_alphas<P: AsRef<std::path::Path>>(
};
combined_subgrids.push(new_subgrid);
}
let combined_grid = GridArray {
pids: pids.clone(),
subgrids: combined_subgrids,
};
let combined_grid = GridArray::from_parts(pids.clone(), combined_subgrids);
combined_grids.push(combined_grid);
}

Expand Down
Loading