flann: fix AutotunedIndex crashing if a KDTree index is selected
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 29 Jul 2015 15:03:48 +0000 (18:03 +0300)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 29 Jul 2015 15:03:48 +0000 (18:03 +0300)
commitc2f59a0f73c081b6d1ecbb56bf064da15ccfea85
treef4ab49077959c6b8cccbac9c4103d794dd9ff5c4
parent6b954cd24e7d8bd8e02b22ebf39ab4389dc5a8a6
flann: fix AutotunedIndex crashing if a KDTree index is selected

Backport of mariusmuja/flann@f8ca6df3.
modules/flann/include/opencv2/flann/autotuned_index.h