Skip to content

Commit 6a045fd

Browse files
committed
Fix arguments list in loadindex for histogram intersection
1 parent a84afb6 commit 6a045fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/flann/src/miniflann.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ bool Index::load(InputArray _data, const String& filename)
801801
loadIndex< ::cvflann::MaxDistance<float> >(this, index, data, fin);
802802
break;
803803
case FLANN_DIST_HIST_INTERSECT:
804-
loadIndex< ::cvflann::HistIntersectionDistance<float> >(index, data, fin);
804+
loadIndex< ::cvflann::HistIntersectionDistance<float> >(this, index, data, fin);
805805
break;
806806
case FLANN_DIST_HELLINGER:
807807
loadIndex< ::cvflann::HellingerDistance<float> >(this, index, data, fin);

0 commit comments

Comments
 (0)