8000 Avoid spurious double cast in _monotonicity by LemonBoy · Pull Request #24449 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Avoid spurious double cast in _monotonicity #24449

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LemonBoy
Copy link

Rewrite the underlying C implementation of the monotonicity check in a generic fashion, allowing the use on arrays with comparable types.

Closes #11022

cc @eric-wieser

@LemonBoy
Copy link
Author
LemonBoy commented Sep 2, 2023

Ping?

@melissawm
Copy link
Member

Hi @LemonBoy - while we wait for a second review can you fix the conflicts that are showing up now? Thanks!

Rewrite the underlying C implementation of the monotonicity check in a
generic fashion, allowing the use on arrays with comparable types.

Closes numpy#11022
Spotted during code review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Awaiting a code review
Development

Successfully merging this pull request may close these issues.

BUG: np.digitize casts integers to float64
4 participants
0