diff options
| author | Eric Wieser <wieser.eric@gmail.com> | 2020-05-17 16:07:31 +0100 |
|---|---|---|
| committer | Eric Wieser <wieser.eric@gmail.com> | 2020-05-18 22:39:53 +0100 |
| commit | e73fdb402c13da019eeb3de4d67002d81a335801 (patch) | |
| tree | 022c1306c13082440f4fe1a03923dd17c7366098 /numpy/lib/nanfunctions.py | |
| parent | bd8be5417632c019dbc1d36400052805f95a372c (diff) | |
| download | numpy-e73fdb402c13da019eeb3de4d67002d81a335801.tar.gz | |
BUG: Ensure out argument is returned by identity for 0d arrays
This makes the following functions consistent with the behavior of ufuncs:
* `np.argmax`
* `np.argmin`
* `np.choose`
* `np.trace`
* `np.round`
* `np.take`
Previously they would unpack these into scalars.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions
