summaryrefslogtreecommitdiff
path: root/scipy/base/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-30 23:23:29 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-30 23:23:29 +0000
commit6508583da84bd0c17b492da99c59e091ebb7c049 (patch)
tree1f867fa214d771a4ed0549720c1ed64ed64f05ca /scipy/base/src/arraymethods.c
parent8d90fbf15133b03d75933882c227d808a2598111 (diff)
downloadnumpy-6508583da84bd0c17b492da99c59e091ebb7c049.tar.gz
Updated PyArray_ArgSort to allow future sorting choices.
Diffstat (limited to 'scipy/base/src/arraymethods.c')
-rw-r--r--scipy/base/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c
index d778dd445..786e116bd 100644
--- a/scipy/base/src/arraymethods.c
+++ b/scipy/base/src/arraymethods.c
@@ -738,7 +738,7 @@ array_argsort(PyArrayObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "|O&", PyArray_AxisConverter,
&axis)) return NULL;
- return _ARET(PyArray_ArgSort(self, axis));
+ return _ARET(PyArray_ArgSort(self, axis, PyArray_QUICKSORT));
}
static char doc_searchsorted[] = "a.searchsorted(v)\n"\