Skip to content

Commit

Permalink
descending sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 8, 2024
1 parent fab156c commit 0dd8658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/include/Acts/Seeding/HoughTransformUtils.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Acts::HoughTransformUtils::PeakFinders::IslandsAroundMax<
}
}
// sort the candidate cells descending in content
std::ranges::sort(candidates, {}, [&yieldMap](const auto c) {
std::ranges::sort(candidates, std::greater{}, [&yieldMap](const auto c) {
return std::tie(yieldMap[c], c);
});

Expand Down

0 comments on commit 0dd8658

Please sign in to comment.