Merge pull request #5090 from SpecLad:autotune-crash

This commit is contained in:
Alexander Alekhin 2015-07-29 15:47:20 +00:00
commit 0263b49298

View File

@ -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);