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