Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: don't check alignment size=0 arrays (RELAXED_STRIDES) #12570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2018

Conversation

charris
Copy link
Member

@charris charris commented Dec 16, 2018

Backport of #12511.

The copy-loops shouldn't assert pointer alignment for size-0 arrays, especially when RELAXED_STRIDES is turned on.

Fixes #12503

Don't check alignment of size-0 arrays in copy-loops, because of
RELAXED_STRIDES.

Fixes numpy#12503
@charris charris added this to the 1.16.0 release milestone Dec 16, 2018
@charris charris merged commit 60bac25 into numpy:maintenance/1.16.x Dec 16, 2018
@charris charris deleted the backport-12511 branch December 16, 2018 22:35
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.

2 participants