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
KDTree.proximal_neighbor(tree2, (3,4,11), d=9)
the above line raises the following value error
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I tried changing d and it seems as long as d < (distance between the point and a node) the code runs perfectly, but when d > (distance between the point and a node) that is when the required point has actual nearest neighbours, the given error is encountered.
The text was updated successfully, but these errors were encountered:
KDTree.proximal_neighbor(tree2, (3,4,11), d=9)

the above line raises the following value error
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I tried changing d and it seems as long as d < (distance between the point and a node) the code runs perfectly, but when d > (distance between the point and a node) that is when the required point has actual nearest neighbours, the given error is encountered.
The text was updated successfully, but these errors were encountered: