Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AllPoints and kNearest do not give the 'same' results. Am I missing something... #56

Open
spicymatt opened this issue Aug 2, 2021 · 1 comment

Comments

@spicymatt
Copy link

hello,
When calling allPoints with a radius of R, I get N points.
When calling nearestK with a large limit and going through all the returned points, I then check how close those points are from my query. I find M points that are closer than R. The problem is that M > N. In other words, the allPoints query is missing M-N points that are within the radius. If I then call allPoints(within: 2*R), I am expecting to find more points, but I still find the same N points.
What am I missing ?

Matthieu

@Bersaelor
Copy link
Owner

Good question,

would it be possible for you to make a condensed test example we can put in the unit tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants