diff --git a/src/Vocabulary.cpp b/src/Vocabulary.cpp index e598e779..f6901988 100644 --- a/src/Vocabulary.cpp +++ b/src/Vocabulary.cpp @@ -61,7 +61,7 @@ QMultiMap Vocabulary::addWords(const cv::Mat & descriptors, int object int matches = 0; for(int i = 0; i < descriptors.rows; ++i) { - QMap fullResults; // nearest descriptors sorted by distance + QMultiMap fullResults; // nearest descriptors sorted by distance if(notIndexedDescriptors_.rows) { Q_ASSERT(newWords.type() == descriptors.type() && newWords.cols == descriptors.cols);