summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/compat.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2012-07-09 21:26:31 -0600
committerCharles Harris <charlesr.harris@gmail.com>2012-07-11 13:04:57 -0600
commit5be7e01a6d67f2adeb167a280986547773dc3ce0 (patch)
tree744f4b3eff6b62fed02913596347d8bebcb66c3e /numpy/oldnumeric/compat.py
parent286a15f77dbc657e2dfceb0bab35e4891e62b4f7 (diff)
downloadnumpy-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