Skip to content

BUG: Allow unsigned shift argument for np.roll#27431

Merged
charris merged 1 commit intonumpy:mainfrom
eendebakpt:roll
Sep 21, 2024
Merged

BUG: Allow unsigned shift argument for np.roll#27431
charris merged 1 commit intonumpy:mainfrom
eendebakpt:roll

Conversation

@eendebakpt
Copy link
Contributor

Fixes #27282

@charris charris added 06 - Regression 09 - Backport-Candidate PRs tagged should be backported labels Sep 21, 2024
@charris charris merged commit ff1c4e6 into numpy:main Sep 21, 2024
@charris
Copy link
Member

charris commented Sep 21, 2024

Thanks @eendebakpt . There could probably be some checks on the values, but I expect the slicing will raise errors if they are out of range.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 22, 2024
EarlMilktea added a commit to EarlMilktea/cupy that referenced this pull request Oct 22, 2024
@eendebakpt eendebakpt deleted the roll branch February 11, 2026 08:20
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.

BUG: numpy.roll() does not work with unsigned shift value

2 participants