diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-05-23 06:41:18 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-09-05 22:07:06 -0700 |
commit | b6a3ee3b7a961cfc7bcf8740c2bc89153c07f6b2 (patch) | |
tree | e10b5be4cbd0c9064060a183572ad22c6a6ee044 /numpy/core/fromnumeric.py | |
parent | e3f4c536a0014789dbd0321926b4f62c39d73719 (diff) | |
download | numpy-b6a3ee3b7a961cfc7bcf8740c2bc89153c07f6b2.tar.gz |
ENH: Always produce a consistent shape in the result of `argwhere`
Previously this would return 1d indices even though the array is zero-d.
Note that using atleast1d inside numeric required an import change to avoid a circular import.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions