crvs / KDTree

Simple C++ KD-Tree implementation
BSD 3-Clause "New" or "Revised" License
188 stars 71 forks source link

Fix insertion bug in node_query_ #13

Closed kn1cht closed 2 months ago

kn1cht commented 3 months ago

Fix #12

Fixed a bug in KDTree::node_query_ that k_nearest_buffer.insert() might not be executed in certain environments when the next of insert_it is k_nearest_buffer.end().