Skip to content

BUG: Revert sort optimization in np.unique. #10608

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

Merged
merged 1 commit into from
Feb 17, 2018

Conversation

charris
Copy link
Member

@charris charris commented Feb 16, 2018

Backport of #10588.

The optimization was to sort integer subarrays by treating them as
strings of unsigned bytes. That worked fine for finding the unique
subarrays, but the sort order of the results could be unexpected.

Closes #10495.

@charris charris added this to the 1.14.1 release milestone Feb 16, 2018
Backport of numpy#10588.

The optimization was to sort integer subarrays by treating them as
strings of unsigned bytes. That worked fine for finding the unique
subarrays, but the sort order of the results could be unexpected.

Closes numpy#10495.
@charris charris merged commit a35a040 into numpy:maintenance/1.14.x Feb 17, 2018
@charris charris deleted the backport-10588 branch September 19, 2018 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant