Commit e202b130 authored by Maria Dimashova's avatar Maria Dimashova

fixed bug in knnMatch method

parent de93fdb1
......@@ -279,7 +279,7 @@ void DescriptorMatcher::knnMatch( const Mat& queryDescriptors, vector<vector<DMa
void DescriptorMatcher::radiusMatch( const Mat& queryDescriptors, vector<vector<DMatch> >& matches, float maxDistance,
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