Fixed crash for empty datasets.
Merge branch 'master' of https://github.com/jlblancoc/nanoflann