Skip to content

MAINT: fix use of unique(..., return_inverse=True) - #19868

Merged
tylerjereddy merged 1 commit into
scipy:mainfrom
rgommers:fix-unique-inverse
Jan 11, 2024
Merged

tylerjereddy merged 1 commit into
scipy:mainfrom
rgommers:fix-unique-inverse

Conversation

@rgommers

Copy link
Copy Markdown
Member

Code was written to expect a 1-D array with the inverse indices, and that got changed in NumPy in
numpy/numpy#25553.

Closes gh-19867

Code was written to expect a 1-D array with the inverse
indices, and that got changed in NumPy in
numpy/numpy#25553.

Closes scipygh-19867

[skip cirrus] [skip circle]
@lucascolley
lucascolley removed the request for review from ev-br January 11, 2024 22:29

@tylerjereddy tylerjereddy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well, and I reproduced 101 failures before/0 failures after the patch with NumPy main locally too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Items related to regular maintenance tasks scipy.interpolate scipy.ndimage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New ndimage and RBFInterpolator test failures in pre-release CI job

3 participants