diff options
author | Travis Oliphant <oliphant@enthought.com> | 2009-10-08 12:23:33 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2009-10-08 12:23:33 +0000 |
commit | eee844a61a5067f03f1cdf6c7ece09a72be3bfca (patch) | |
tree | a0f467e1b62358bbaf0431abe40d4209fe5f0bd3 | |
parent | df4d24c89e1bfda3328cc5d47ba27ce1a4b2ca1d (diff) | |
download | numpy-eee844a61a5067f03f1cdf6c7ece09a72be3bfca.tar.gz |
Fix call to copyswap.
-rw-r--r-- | numpy/core/src/multiarray/scalartypes.c.src | 2 |
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); |