Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
histogram: fix test for downsampling histograms
The downsample() test uses both an incrementing factor for the downsampling as well as a mutable reference as the baseline. This makes the effective downsampling rate increase at a non-linear rate (1, 3, 6, ..). Fix by cloning the histogram and using a non-mutable reference as the baseline.
- Loading branch information