-
Notifications
You must be signed in to change notification settings - Fork 46
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
Segmentation fault on empty points #116
Comments
@STNLd2 thanks for bring this to our attention! is this anything you are willing to provide a fix for? |
@mraspaud Could you take care of it? Don't want to mess with forking just for 2 lines of code :) |
@STNLd2 I know that @mraspaud is getting ready to go on holiday so he might not have time for this. I know I don't right now either. Since you found the issue, filed the bug, and have the use case where you'd like this check, it may be best for you to tackle this. And it wouldn't be just 2 lines of code because this could use a test in the test_tree.py module too. |
Sorry, I've just noticed the last message. |
Please add a check for empty point array in
KDTree
input.falls with the segmentation fault.
The text was updated successfully, but these errors were encountered: