[-Wlogical-op-parentheses] note: place parentheses around the '&&' expression to silence this warning
huanglilong opened this issue · 0 comments
huanglilong commented
ikd-Tree/ikd-Tree/ikd_Tree.cpp
Line 896 in c0e36a1
should be
if(q.size()< k_nearest || (dist_left_node < q.top().dist && dist_right_node < q.top().dist))