NNPDF / pineappl

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

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

Closed cschwan closed 2 years ago

cschwan commented 2 years 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 2 years ago

Implemented in commit 40eea19ff697c15dce441b2e233bba090c601373.