Skip to content
Snippets Groups Projects
Commit 0e26f365 authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

Merge branch 'fix/new_list_cleared_proc_tracker' into 'devel'

`ProcessorTrackerLandmark::processNew: Replaced empty list assert statements by clearing the corresponding lists

See merge request !297
parents 43fa081e 8b81e574
No related branches found
No related tags found
1 merge request!297`ProcessorTrackerLandmark::processNew: Replaced empty list assert statements by clearing the corresponding lists
Pipeline #4420 passed
...@@ -73,10 +73,10 @@ unsigned int ProcessorTrackerLandmark::processNew(const int& _max_features) ...@@ -73,10 +73,10 @@ unsigned int ProcessorTrackerLandmark::processNew(const int& _max_features)
* When done, we need to find these new Landmarks in the incoming Capture. * When done, we need to find these new Landmarks in the incoming Capture.
*/ */
// assuming cleared new lists // new lists cleared
assert(new_features_last_.empty()); new_features_last_.clear();
assert(new_features_incoming_.empty()); new_features_incoming_.clear();
assert(new_landmarks_.empty()); new_landmarks_.clear();
// We first need to populate the \b last Capture with new Features // We first need to populate the \b last Capture with new Features
unsigned int n = detectNewFeatures(_max_features, unsigned int n = detectNewFeatures(_max_features,
......
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