summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-01-05 11:50:50 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2013-01-05 12:04:49 +0100
commitd2ca91791024f74dd4754fa9b811228abd1ce613 (patch)
tree3da2f69fcd386303603d58cdbf274066f7dd2963 /numpy/lib/tests/test_function_base.py
parentc74586282e4598e70b9b2473ee987785e2a61477 (diff)
downloadnumpy-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