Skip to content
Snippets Groups Projects

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

Merged Mederic Fourmy requested to merge fix/new_list_cleared_proc_tracker into devel
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -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.
*/
// assuming cleared new lists
assert(new_features_last_.empty());
assert(new_features_incoming_.empty());
assert(new_landmarks_.empty());
// new lists cleared
new_features_last_.clear();
new_features_incoming_.clear();
new_landmarks_.clear();
// We first need to populate the \b last Capture with new Features
unsigned int n = detectNewFeatures(_max_features,
Loading