From 49fb1a9bb5a148ab7e431eb82f63f96d18c38626 Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Sun, 8 Sep 2024 22:08:36 +0200 Subject: [PATCH] hough - type? --- Core/include/Acts/Seeding/HoughTransformUtils.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/include/Acts/Seeding/HoughTransformUtils.ipp b/Core/include/Acts/Seeding/HoughTransformUtils.ipp index b0bfc4511e4..d26607d37ea 100644 --- a/Core/include/Acts/Seeding/HoughTransformUtils.ipp +++ b/Core/include/Acts/Seeding/HoughTransformUtils.ipp @@ -264,7 +264,7 @@ Acts::HoughTransformUtils::PeakFinders::IslandsAroundMax< } } // sort the candidate cells descending in content - std::ranges::sort(candidates, std::greater{}, [&yieldMap](const auto c) { + std::ranges::sort(candidates, std::greater{}, [&yieldMap](std::size_t c) { return std::tie(yieldMap[c], c); });