From 87e6d0fe16a63f01ab289c672ae553c4dc58757d Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Mon, 2 Dec 2024 15:04:20 +0100 Subject: [PATCH] fix --- Core/src/Vertexing/AdaptiveGridTrackDensity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(