Skip to content

BUG: Fix failure to create aligned, empty structured dtype#20466

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

BUG: Fix failure to create aligned, empty structured dtype#20466
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-20365

Conversation

@charris
Copy link
Member

@charris charris commented Nov 25, 2021

Backport of #20365.

This fixes a SIGFPE exception due to division/modulo by zero when
an empty structured dtype is requested aligned.

Closes gh-19696

This fixes a SIGFPE exception due to division/modulo by zero when
an empty structured dtype is requested aligned.
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Nov 25, 2021
@charris charris added this to the 1.21.5 release milestone Nov 25, 2021
@charris charris merged commit 157ee4f into numpy:maintenance/1.21.x Nov 26, 2021
@charris charris deleted the backport-20365 branch November 26, 2021 01:42
charris added a commit to charris/numpy that referenced this pull request Jan 10, 2022
This reverts commit 157ee4f, reversing
changes made to 87d6f96.

The reverted PR was a mistaken backport that introduced C++ into the
1.21.5 release, causing problems for some projects.

Closes numpy#20765.
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