Skip to content
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

BUG: Handle NaNs correctly for float16 during sorting #21867

Merged
merged 3 commits into from Jun 28, 2022

Conversation

charris
Copy link
Member

@charris charris commented Jun 28, 2022

Backport of 21848.

Fixes #21838
Incorrect dtype enumeration order causes sorting on float16 arrays with
NaN values to fail. Reordering the dtypes fixes this problem.

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jun 28, 2022
@charris charris added this to the 1.23.1 release milestone Jun 28, 2022
@charris charris merged commit 4574a0e into numpy:maintenance/1.23.x Jun 28, 2022
@charris charris deleted the backport-21848 branch June 28, 2022 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants