-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
MAINT Remove -Wcpp warnings when compiling _kd_tree and _ball_tree
#24965
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
Conversation
jjerphan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo a few comments.
ogrisel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the points raised by @jjerphan have been taken care of.
jjerphan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR better be merged in the current state; see my comment.
|
You're right, let's split this PR. |
04766a8 to
ae5648c
Compare
jjerphan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and mergeable to me. Thanks for splitting this PR in two with #25106, @Vincent-Maladiere.
I let @ogrisel merge if it LGTH.
|
Actually, I am merging this PR since I missed the remark in #24965. |
Reference Issues/PRs
Towards #24875
What does this implement/fix? Explain your changes.
sklearn/neighbors/_binary_tree.pxiso that_kd_treeand_ball_treeuse the new numpy APIcnp.NPY_OWNDATAbycnp.NPY_ARRAY_OWNDATAAny other comments?