Commit de93fdb1 authored by Alexander Shishkov's avatar Alexander Shishkov

fixed bug in knnMatch method

parent 9702b5ef
......@@ -264,7 +264,7 @@ void DescriptorMatcher::checkMasks( const vector<Mat>& masks, int queryDescripto
void DescriptorMatcher::knnMatch( const Mat& queryDescriptors, vector<vector<DMatch> >& matches, int knn,
const vector<Mat>& masks, bool compactResult )
{
matches.empty();
matches.clear();
if( empty() || queryDescriptors.empty() )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment