Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Move objects instead of copying (#2848)
Totally unnecessary copy of locally-defined objects (vector and axes). Can be simply moved instead. Other changes: - `config.zBinEdges` contains `float`s. No need to get reference when looping - `std::max` returns same type of the two input arguments and `std::floor` returns a `float`. Thus `zBins` can already be defined as a `float` instead of `int`, thus avoiding a few `static_cast`s
- Loading branch information