Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhuth committed Dec 18, 2024
1 parent 5d2313f commit 07ffb51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Core/include/Acts/TrackFitting/KalmanFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,9 @@ class KalmanFitter {
result.fittedStates->applyBackwards(
result.lastMeasurementIndex, [&](auto trackState) {
auto fSurface = &trackState.referenceSurface();
if (!rangeContainsValue(result.passedAgainSurfaces,
if (trackState.typeFlags().test(
TrackStateFlag::MeasurementFlag) &&
!rangeContainsValue(result.passedAgainSurfaces,
fSurface)) {
// If reversed filtering missed this surface, then there is
// no smoothed parameter
Expand Down

0 comments on commit 07ffb51

Please sign in to comment.