mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 12:52:33 -05:00
Add initialisations to make clear what values actually have to be passed.
Moreover, in accordance with 383559c228/modules/flann/include/opencv2/flann/defines.h (L68), I believe `FLANN_INDEX_KDTREE` was being initialised wrongly in the code examples, 1 should be correct, whereas 0 is `FLANN_INDEX_LINEAR`.