Skip to content

Fix error in _find_threaded, make sure tests run in thread mode #10

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

Merged
merged 2 commits into from
Aug 1, 2020

Conversation

jlumpe
Copy link
Collaborator

@jlumpe jlumpe commented Jul 17, 2020

Forgot to add skip argument to recursive call in _find_threaded in previous PR. This wasn't caught by the tests because they either weren't running the threaded search or the data set was too small to trigger a new thread to spawn (which was where the error was). Updated tests to use large data sets (at least 10,000, 10x larger than the 1000 required to spawn a new thread in a recursive call) and to explicitly build the tree with both threaded=true and threaded=false.

@altre
Copy link
Collaborator

altre commented Jul 27, 2020

Hi @jlumpe, I just gave you write access to the repository. Unfortunately this package didn't make into my day job, so I'm not finding enough time right now. Hope to get back to it in the future.

@jlumpe
Copy link
Collaborator Author

jlumpe commented Jul 28, 2020

Thanks @altre, I'll just go ahead and merge the current PRs if that's alright. They're all tested and shouldn't break anything.

@jlumpe jlumpe merged commit 9fcd302 into JuliaNeighbors:master Aug 1, 2020
@jlumpe jlumpe deleted the fix-find-threaded branch August 1, 2020 17:57
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

Successfully merging this pull request may close these issues.

2 participants