diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2012-05-20 18:18:13 +0100 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2012-06-27 17:29:59 +0100 |
commit | 15738e15cc80fdf1d5a2472076cdb8fde4b9a890 (patch) | |
tree | 9786ff603b8c79fb2c3d8c1ea47b6d5e05fd4d78 /numpy/core/defchararray.py | |
parent | e15d0bdd3cc0bc0928e1f4d0b419a2fb3de02af9 (diff) | |
download | numpy-15738e15cc80fdf1d5a2472076cdb8fde4b9a890.tar.gz |
BUG: handle length-0 axes correctly in ufunc.reduce without identity
In numpy 1.6, reduction operations with no identity
(e.g. numpy.maximum) gave an error iff they were asked to reduce a
0-element dimension. This regressed during the 1.7 development cycle,
so that they started giving an error if *any* dimension had 0
elements, even ones that were not reduced over. Fixes bug #2078.
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions