From 0e95c93efb2ea981caf342ec08ba35ba2c66b56a Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Fri, 18 Oct 2024 14:26:03 +0200 Subject: [PATCH] Revert "review stephenswat" This reverts commit 449bd3e855eadce7a0787368314cd342f6961849. --- Core/src/Material/BinnedSurfaceMaterialAccumulater.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/Material/BinnedSurfaceMaterialAccumulater.cpp b/Core/src/Material/BinnedSurfaceMaterialAccumulater.cpp index 4194c990a85..a4d2366b743 100644 --- a/Core/src/Material/BinnedSurfaceMaterialAccumulater.cpp +++ b/Core/src/Material/BinnedSurfaceMaterialAccumulater.cpp @@ -120,7 +120,8 @@ void Acts::BinnedSurfaceMaterialAccumulater::accumulate( // After mapping this track, average the touched bins for (const auto& [key, value] : touchedMapBins) { - key->trackAverage({value}, true); + std::vector> trackBins = {value}; + key->trackAverage(trackBins, true); } // Empty bin correction