[Numpy-svn] [numpy/numpy] 445296: BUG: Correct behavior for lists of tuples in uniqu...
GitHub
noreply at github.com
Sun Jun 8 08:55:45 EDT 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 44529602509f7af4d103ce968248eafbd51af5be
https://github.com/numpy/numpy/commit/44529602509f7af4d103ce968248eafbd51af5be
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-06-06 (Fri, 06 Jun 2014)
Changed paths:
M numpy/lib/arraysetops.py
M numpy/lib/tests/test_arraysetops.py
Log Message:
-----------
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`.
Commit: 079b741cac5c8dee792a9fbeb2c856ba123167b1
https://github.com/numpy/numpy/commit/079b741cac5c8dee792a9fbeb2c856ba123167b1
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2014-06-08 (Sun, 08 Jun 2014)
Changed paths:
M numpy/lib/arraysetops.py
M numpy/lib/tests/test_arraysetops.py
Log Message:
-----------
Merge pull request #4788 from jaimefrio/unique_nonarray
BUG: Correct behavior for lists of tuples in unique, closes #4785
Compare: https://github.com/numpy/numpy/compare/4c854c263389...079b741cac5c
More information about the Numpy-svn
mailing list