diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-11-12 04:26:50 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-11-12 04:26:50 +0000 |
commit | 280dfb5924f132f8e5103bd44d9c468f9255f9ca (patch) | |
tree | e836c3709b61ee42f3d1507398558092fe959532 /scipy/base/src/arraymethods.c | |
parent | 42a1219d36a27a35350f532e46fea33da56cc227 (diff) | |
download | numpy-280dfb5924f132f8e5103bd44d9c468f9255f9ca.tar.gz |
Removed svn version number for release.
Diffstat (limited to 'scipy/base/src/arraymethods.c')
-rw-r--r-- | scipy/base/src/arraymethods.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c index 350721502..fe4bb06bc 100644 --- a/scipy/base/src/arraymethods.c +++ b/scipy/base/src/arraymethods.c @@ -204,7 +204,7 @@ array_max(PyArrayObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "|O&", PyArray_AxisConverter, &axis)) return NULL; - return PyArray_Max(self, axis); + return _ARET(PyArray_Max(self, axis)); } static char doc_ptp[] = "a.ptp(axis=None) a.max(axis)-a.min(axis)"; @@ -217,7 +217,7 @@ array_ptp(PyArrayObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "|O&", PyArray_AxisConverter, &axis)) return NULL; - return PyArray_Ptp(self, axis); + return _ARET(PyArray_Ptp(self, axis)); } @@ -231,7 +231,7 @@ array_min(PyArrayObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "|O&", PyArray_AxisConverter, &axis)) return NULL; - return PyArray_Min(self, axis); + return _ARET(PyArray_Min(self, axis)); } @@ -565,7 +565,7 @@ array_copy(PyArrayObject *self, PyObject *args) int fortran=0; if (!PyArg_ParseTuple(args, "|i", &fortran)) return NULL; - return PyArray_NewCopy(self, fortran); + return _ARET(PyArray_NewCopy(self, fortran)); } static char doc_resize[] = "self.resize(new_shape). "\ @@ -616,7 +616,7 @@ array_repeat(PyArrayObject *self, PyObject *args, PyObject *kwds) { &repeats, PyArray_AxisConverter, &axis)) return NULL; - return PyArray_Repeat(self, repeats, axis); + return _ARET(PyArray_Repeat(self, repeats, axis)); } static char doc_choose[] = "a.choose(b0, b1, ..., bn)\n"\ |