-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
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 green CI.
jeremiedbb
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.
Thanks for the PR @Vincent-Maladiere
6104ff8 to
a8928f7
Compare
jeremiedbb
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. 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.ndarrayby memoryviews.basefor outputsisinstance(key, cnp.ndarray)with_is_arraylikeAny other comments?
cc @jjerphan