diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-12-26 23:04:04 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-12-26 23:04:04 +0000 |
commit | 80db3b32f2d5532bdd8bc8f66ce2103bd4e64ea1 (patch) | |
tree | 4d0a9fd32a411fe2e5bd2a5b5b090b6ba8ceccbb /numpy/core/src | |
parent | 87f61abda82e21fc77facd3931e0182dd564c3a0 (diff) | |
download | numpy-80db3b32f2d5532bdd8bc8f66ce2103bd4e64ea1.tar.gz |
Fix packbits and unpackbits for new io in numpy.
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/arrayobject.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index fe9d67252..d93f82bd0 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -4832,8 +4832,12 @@ array_richcompare(PyArrayObject *self, PyObject *other, int cmp_op) return result; } + +/*MULTIARRAY_API + PyArray_CheckAxis +*/ static PyObject * -_check_axis(PyArrayObject *arr, int *axis, int flags) +PyArray_CheckAxis(PyArrayObject *arr, int *axis, int flags) { PyObject *temp1, *temp2; int n = arr->nd; @@ -4875,6 +4879,8 @@ _check_axis(PyArrayObject *arr, int *axis, int flags) return temp2; } +#define _check_axis PyArray_CheckAxis + #include "arraymethods.c" /* Lifted from numarray */ |