Skip to content

BUG: Do not use nonzero fastpath on unaligned arrays#20295

Merged
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-20179
Nov 4, 2021
Merged

BUG: Do not use nonzero fastpath on unaligned arrays#20295
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-20179

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Nov 3, 2021

Backport of #20179.

The fast-path does not handle unalgined access, previously only
bools had a fast path (and bools are by definition always aligned
since they are stored in a single byte/char).

Closes gh-19592

The fast-path does not handle unalgined access, previously only
bools had a fast path (and bools are by definition always aligned
since they are stored in a single byte/char).

Closes numpygh-19592
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Nov 3, 2021
@charris charris added this to the 1.21.4 release milestone Nov 3, 2021
@charris charris merged commit 5fe9833 into numpy:maintenance/1.21.x Nov 4, 2021
@charris charris deleted the backport-20179 branch November 4, 2021 00:24
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