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

Skip to content

Backport2886and7#2900

Merged
certik merged 2 commits into
numpy:maintenance/1.7.xfrom
certik:backport2886and7
Jan 10, 2013
Merged

Backport2886and7#2900
certik merged 2 commits into
numpy:maintenance/1.7.xfrom
certik:backport2886and7

Conversation

@certik
Copy link
Copy Markdown
Contributor

@certik certik commented Jan 10, 2013

This backports #2886 and #2887 into 1.7. Fixes #2889.

seberg and others added 2 commits January 9, 2013 19:19
During a cleanup, the fast paths were invalidated because SIZEOF_LONGDOUBLE
was not defined anymore and needs to be replaced with NPY_SIZEOF_LONGDOUBLE.
The other SIZEOF macros still existed however so only complex long double
broke because it switched to the already broken fast path.

This commit fixes the fast path, and replaces all SIZEOF_ macros within
arraytypes.c.src with their corresponding NPY_SIZEOF_ macros.
The sources don't define NPY_NO_PREFIX and consequently none of the
unprefixed macros are defined. Using them can lead to some unexpected
results.
certik added a commit that referenced this pull request Jan 10, 2013
@certik certik merged commit 4e179f0 into numpy:maintenance/1.7.x Jan 10, 2013
@certik certik deleted the backport2886and7 branch January 10, 2013 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants