diff --git a/Core/src/Vertexing/AdaptiveGridTrackDensity.cpp b/Core/src/Vertexing/AdaptiveGridTrackDensity.cpp index 3b56aa0a3de..d08b9db4913 100644 --- a/Core/src/Vertexing/AdaptiveGridTrackDensity.cpp +++ b/Core/src/Vertexing/AdaptiveGridTrackDensity.cpp @@ -43,7 +43,7 @@ double AdaptiveGridTrackDensity::getBinCenter(std::int32_t bin, } std::int32_t AdaptiveGridTrackDensity::getBin(double value, double binExtent) { - return static_cast(std::floor(value / binExtent - 0.5) + 1); + return static_cast(std::floor(value / binExtent - 0.5) + 1); } std::uint32_t AdaptiveGridTrackDensity::getTrkGridSize(