Skip to content

Commit

Permalink
fix: VectorMultiTrajectory clears meas offsets (#2202)
Browse files Browse the repository at this point in the history
The `VectorMultiTrajectory` was not clearing nor copying the `measOffset` and `measCovOffset` vectors. That's a problem!
  • Loading branch information
paulgessinger committed Jun 13, 2023
1 parent 287f31e commit a8fbe29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/include/Acts/EventData/VectorMultiTrajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ class VectorMultiTrajectoryBase {
m_params{other.m_params},
m_cov{other.m_cov},
m_meas{other.m_meas},
m_measOffset{other.m_measOffset},
m_measCov{other.m_measCov},
m_measCovOffset{other.m_measCovOffset},
m_jac{other.m_jac},
m_sourceLinks{other.m_sourceLinks},
m_projectors{other.m_projectors},
Expand Down
2 changes: 2 additions & 0 deletions Core/src/EventData/VectorMultiTrajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ void VectorMultiTrajectory::clear_impl() {
m_params.clear();
m_cov.clear();
m_meas.clear();
m_measOffset.clear();
m_measCov.clear();
m_measCovOffset.clear();
m_jac.clear();
m_sourceLinks.clear();
m_projectors.clear();
Expand Down

0 comments on commit a8fbe29

Please sign in to comment.