Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 16, 2024
1 parent b356090 commit 4c72855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/include/Acts/Propagator/Navigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ class Navigator {
std::ranges::sort(
state.navigation.navSurfaces,
[&state, &externalSurfaces](const SurfaceIntersection& a,
SurfaceIntersection& b) {
const SurfaceIntersection& b) {
// Prefer to sort by path length. We assume surfaces are at the same
// distance if the difference is smaller than the tolerance.
if (std::abs(a.pathLength() - b.pathLength()) >
Expand Down

0 comments on commit 4c72855

Please sign in to comment.