diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-09-23 03:32:14 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-09-23 03:32:14 +0000 |
commit | 12467b6106f05bc08412f584f9331cb4374dbde1 (patch) | |
tree | f1a7bef8fefc9376be8cd23b9891ad64fbb258ff /numpy/core/src/arraymethods.c | |
parent | 310b6d0be5f3277a4bb233564e2b476b676ad646 (diff) | |
download | numpy-12467b6106f05bc08412f584f9331cb4374dbde1.tar.gz |
Fix .take() default-axis argument bug.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r-- | numpy/core/src/arraymethods.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c index b7411ea8e..5e3a3c334 100644 --- a/numpy/core/src/arraymethods.c +++ b/numpy/core/src/arraymethods.c @@ -11,7 +11,6 @@ array_take(PyArrayObject *self, PyObject *args, PyObject *kwds) NPY_CLIPMODE mode=NPY_RAISE; static char *kwlist[] = {"indices", "axis", "out", "mode", NULL}; - dimension=0; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O&", kwlist, &indices, PyArray_AxisConverter, &dimension, |