flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

FLANN seems to break when compiled with -O(1, 2, 3) #479

Open isaactian opened 3 years ago

isaactian commented 3 years ago

If flann is included in a project and I compile it with -O2 (or any optimization level) the code seems to break. It will run without errors but produce bogus results. Did I install FLANN wrong or something?