diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2012-07-09 21:26:31 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-07-11 13:04:57 -0600 |
commit | 5be7e01a6d67f2adeb167a280986547773dc3ce0 (patch) | |
tree | 744f4b3eff6b62fed02913596347d8bebcb66c3e /numpy/oldnumeric/compat.py | |
parent | 286a15f77dbc657e2dfceb0bab35e4891e62b4f7 (diff) | |
download | numpy-5be7e01a6d67f2adeb167a280986547773dc3ce0.tar.gz |
ENH: Add generic sorts for quicksort, heapsort, and mergesort.
These all have the same signature as the c qsort apart from an
error return that is needed for memory allocation errors. With
these functions the different kinds of sorts are made available
for types that don't have type specific sorts.
This fixes the np.unique bug introduced in 1.6.2 where record
arrays and such didn't have mergesort. It also allows lexsort to
work with all array types.
Diffstat (limited to 'numpy/oldnumeric/compat.py')
0 files changed, 0 insertions, 0 deletions