Skip to content

Ensure that the upper bin edge is always present

Johannes Junggeburth requested to merge linear_bin_fix into master

Hi @goblirsc,

   std::vector<double> eta_bins = PlotUtils::getLinearBinning(-2.5,2.5,25);

misses the last bin. That's because the step-size is iteratively added and due to double addition errors, the final value is sometimes missed.

Merge request reports