summaryrefslogtreecommitdiff
path: root/numpy/lib/arrayterator.py
diff options
context:
space:
mode:
authorjaimefrio <jaime.frio@gmail.com>2014-06-06 16:57:14 -0700
committerjaimefrio <jaime.frio@gmail.com>2014-06-06 16:57:39 -0700
commit44529602509f7af4d103ce968248eafbd51af5be (patch)
tree47a333ddab725ab57d9c3e449efc14b0eb3e3270 /numpy/lib/arrayterator.py
parent4c854c2633894387988b43306ff72333cb00613a (diff)
downloadnumpy-44529602509f7af4d103ce968248eafbd51af5be.tar.gz
BUG: Correct behavior for lists of tuples in unique, closes #4785
np.unique produces wrong results when passed a list of tuples and no keyword arguments, as it fails to recognize it as a multidim array, but handles it as a 1D array of objects. The only way around this seems to be to completely eliminate the fast path for non-array inputs using `set`.
Diffstat (limited to 'numpy/lib/arrayterator.py')
0 files changed, 0 insertions, 0 deletions