summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2009-10-08 12:23:33 +0000
committerTravis Oliphant <oliphant@enthought.com>2009-10-08 12:23:33 +0000
commiteee844a61a5067f03f1cdf6c7ece09a72be3bfca (patch)
treea0f467e1b62358bbaf0431abe40d4209fe5f0bd3
parentdf4d24c89e1bfda3328cc5d47ba27ce1a4b2ca1d (diff)
downloadnumpy-eee844a61a5067f03f1cdf6c7ece09a72be3bfca.tar.gz
Fix call to copyswap.
-rw-r--r--numpy/core/src/multiarray/scalartypes.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/scalartypes.c.src b/numpy/core/src/multiarray/scalartypes.c.src
index 170462166..8b0e4e11b 100644
--- a/numpy/core/src/multiarray/scalartypes.c.src
+++ b/numpy/core/src/multiarray/scalartypes.c.src
@@ -1107,7 +1107,7 @@ gentype_byteswap(PyObject *self, PyObject *args)
return PyErr_NoMemory();
}
else {
- descr->f->copyswap(newmem, data, 1);
+ descr->f->copyswap(newmem, data, 1, NULL);
}
new = PyArray_Scalar(newmem, descr, NULL);
_pya_free(newmem);