diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-01-05 11:50:50 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-01-05 12:04:49 +0100 |
commit | d2ca91791024f74dd4754fa9b811228abd1ce613 (patch) | |
tree | 3da2f69fcd386303603d58cdbf274066f7dd2963 /numpy/lib/tests/test_function_base.py | |
parent | c74586282e4598e70b9b2473ee987785e2a61477 (diff) | |
download | numpy-d2ca91791024f74dd4754fa9b811228abd1ce613.tar.gz |
BUG: Fix byteswapping for complex scalars
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.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions