Skip to content

BUG: array_api.argsort(descending=True) respects relative sort order#20806

Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20788
Jan 13, 2022
Merged

BUG: array_api.argsort(descending=True) respects relative sort order#20806
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20788

Conversation

@charris
Copy link
Copy Markdown
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.

2 participants