Fixed some signed/unsigned comparison warnings

This commit is contained in:
matlabbe
2016-02-23 11:06:24 -05:00
parent af37b4b746
commit 9e446aab7a
5 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -1258,7 +1258,7 @@ std::vector<int> VWDictionary::findNN(const cv::Mat & query) const
}
ULOGGER_DEBUG("Search not yet indexed words time = %fs", timer.ticks());
for(unsigned int i=0; i<query.rows; ++i)
for(int i=0; i<query.rows; ++i)
{
std::multimap<float, int> fullResults; // Contains results from the kd-tree search [and the naive search in new words]
if(!bruteForce && dists.cols)