NNPDF / pineappl

PineAPPL is not an extension of APPLgrid
https://nnpdf.github.io/pineappl/
GNU General Public License v3.0
12 stars 3 forks source link

Implement `Clone` for `Grid` and add `pineappl_grid_clone` to the C API #169

Closed cschwan closed 1 year ago

cschwan commented 1 year ago

This is needed to because Grid::merge takes ownership of the merged grid, which we might want to use after merging. With Grid::clone we can work around by cloning before merging.

cschwan commented 1 year ago

Implemented in commit 40eea19ff697c15dce441b2e233bba090c601373.