You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the extreme case of query being the root vantage point, furthest_d becomes zero and no further nodes are searched because d is less than node.left_min. The left subtree should be searched if d < middle where middle = (self.left_max + self.right_min).
Hi, I'm still seeing this issue when trying to use this library. I'm on version 1.1.1, is this the version that has these fixes or am I mistaken? Including some test code below.
In the extreme case of
query
being the root vantage point,furthest_d
becomes zero and no further nodes are searched becaused
is less thannode.left_min
. The left subtree should be searched ifd < middle
wheremiddle = (self.left_max + self.right_min)
.References:
The text was updated successfully, but these errors were encountered: