-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
MAINT Remove -Wcpp warnings when compiling sklearn.utils.murmurhash
#24958
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
MAINT Remove -Wcpp warnings when compiling sklearn.utils.murmurhash
#24958
Conversation
96a9add
to
3dd8b04
Compare
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 green CI.
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.
Thanks for the PR @Vincent-Maladiere
6104ff8
to
a8928f7
Compare
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. Just a nitpick: we tend to prefer np.asarray(x) instead of x.base
Thanks @Vincent-Maladiere |
Reference Issues/PRs
Towards #24875
What does this implement/fix? Explain your changes.
cnp.ndarray
by memoryviews.base
for outputsisinstance(key, cnp.ndarray)
with_is_arraylike
Any other comments?
cc @jjerphan