Merge pull request #17721 from pemmanuelviel:pev--fix-hist-intersect-arguments

pull/17737/head
Alexander Alekhin 5 years ago
commit 73f7d091f8
  1. 2
      modules/flann/src/miniflann.cpp

@ -801,7 +801,7 @@ bool Index::load(InputArray _data, const String& filename)
loadIndex< ::cvflann::MaxDistance<float> >(this, index, data, fin);
break;
case FLANN_DIST_HIST_INTERSECT:
loadIndex< ::cvflann::HistIntersectionDistance<float> >(index, data, fin);
loadIndex< ::cvflann::HistIntersectionDistance<float> >(this, index, data, fin);
break;
case FLANN_DIST_HELLINGER:
loadIndex< ::cvflann::HellingerDistance<float> >(this, index, data, fin);

Loading…
Cancel
Save