jtsiomb / kdtree

A simple C library for working with KD-Trees
http://nuclear.mutantstargoat.com/sw/kdtree/
Other
391 stars 115 forks source link

fix issue in kd_res_item3 and kd_res_item3f where pointers should hav… #22

Closed mdejong closed 5 years ago

mdejong commented 5 years ago

fix issue in kd_res_item3 and kd_res_item3f where pointers should have been compared to NULL

jtsiomb commented 5 years ago

You're absolutely right of course. I meant to test if(x) not if(*x).