Merge pull request #5090 from SpecLad:autotune-crash

pull/5092/head
Alexander Alekhin 9 years ago
commit 0263b49298
  1. 1
      modules/flann/include/opencv2/flann/autotuned_index.h

@ -384,6 +384,7 @@ private:
// evaluate kdtree for all parameter combinations
for (size_t i = 0; i < FLANN_ARRAY_LEN(testTrees); ++i) {
CostData cost;
cost.params["algorithm"] = FLANN_INDEX_KDTREE;
cost.params["trees"] = testTrees[i];
evaluate_kdtree(cost);

Loading…
Cancel
Save