Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Sep 19, 2024
1 parent 04b4349 commit 28e1db9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/src/TrackFitting/MbfSmoother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ void MbfSmoother::visitMeasurement(const InternalTrackState& ts,
assert(ts.measurement.has_value());

const InternalTrackState::Measurement& measurement = ts.measurement.value();
const InternalTrackState::Jacobian F = ts.jacobian;

visit_measurement(measurement.calibratedSize, [&](auto N) -> void {
constexpr std::size_t kMeasurementSize = decltype(N)::value;
Expand Down Expand Up @@ -73,8 +74,6 @@ void MbfSmoother::visitMeasurement(const InternalTrackState& ts,
(-H.transpose() * S_inv * y + C_hat.transpose() * small_lambda_hat)
.eval();

const InternalTrackState::Jacobian& F = ts.jacobian;

big_lambda_hat = F.transpose() * big_lambda_tilde * F;
small_lambda_hat = F.transpose() * small_lambda_tilde;
});
Expand Down

0 comments on commit 28e1db9

Please sign in to comment.