diff --git a/src/BordersFinder.cpp b/src/BordersFinder.cpp index c1937792ee8c5cd996db42cb5236301861ede96b..3f1a24d97d73267220b506678baffb05b2d99b0d 100644 --- a/src/BordersFinder.cpp +++ b/src/BordersFinder.cpp @@ -26,7 +26,7 @@ void BordersFinder::FindBorders() { double *histIntegral = histo_.GetIntegral(); double x[n]; for (int i = 0; i < n; ++i) { - x[i] = axis->GetBinCenter(i + 1); + x[i] = axis->GetBinLowEdge(i + 1); } TGraph intVsXGraph(n, x, histIntegral);