Skip to content
Snippets Groups Projects
Commit 1a5c6d7d authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

small bug fix in ProcessorTrackerFeature::processKnown

parent f338e13b
No related branches found
No related tags found
1 merge request!278Resolve "Revisit demos (formerly called examples) and update them"
This commit is part of merge request !278. Comments created here will be created in the context of that merge request.
...@@ -144,6 +144,9 @@ void ProcessorTrackerFeature::resetDerived() ...@@ -144,6 +144,9 @@ void ProcessorTrackerFeature::resetDerived()
void ProcessorTrackerFeature::establishFactors() void ProcessorTrackerFeature::establishFactors()
{ {
if (origin_ptr_ == last_ptr_)
return;
TrackMatches matches_origin_last = track_matrix_.matches(origin_ptr_, last_ptr_); TrackMatches matches_origin_last = track_matrix_.matches(origin_ptr_, last_ptr_);
for (auto const & pair_trkid_pair : matches_origin_last) for (auto const & pair_trkid_pair : matches_origin_last)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment