mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
fixed bruteforce nn initialization
This commit is contained in:
@@ -571,7 +571,8 @@ void VWDictionary::update()
|
||||
else if(_strategy >= kNNBruteForce &&
|
||||
_notIndexedWords.size() &&
|
||||
_removedIndexedWords.size() == 0 &&
|
||||
_visualWords.size())
|
||||
_visualWords.size() &&
|
||||
_dataTree.rows)
|
||||
{
|
||||
//just add not indexed words
|
||||
int i = _dataTree.rows;
|
||||
|
||||
Reference in New Issue
Block a user