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: array_api.argsort(descending=True) respects relative sort order #20806

Merged
merged 1 commit into from Jan 13, 2022

Conversation

charris
Copy link
Member

@charris charris commented Jan 12, 2022

Backport of #20788.

Resolves #20778. Tested in array-api-tests , specifically
https://github.com/data-apis/array-apitests/blob/314e1be134b96e2d6c40ee87492d807838292195/array_api_tests/test_sorting_functions.py#L41

  • BUG: array_api.argsort(descending=True) respects relative order

  • Regression test for stable descending array_api.argsort()

numpy#20788)

* BUG: `array_api.argsort(descending=True)` respects relative order

* Regression test for stable descending `array_api.argsort()`
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jan 12, 2022
@charris charris added this to the 1.22.1 release milestone Jan 12, 2022
@charris charris merged commit ad22fc6 into numpy:maintenance/1.22.x Jan 13, 2022
@charris charris deleted the backport-20788 branch January 13, 2022 03:10
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