diff --git a/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h b/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h index 20304ede73..d830bc6a00 100644 --- a/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h +++ b/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h @@ -386,7 +386,6 @@ public: throw FLANNException("Unknown algorithm for choosing initial centers."); } - trees_ = get_param(params,"trees",4); root = new NodePtr[trees_]; indices = new int*[trees_];