summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-09-01 13:40:07 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-09-01 14:14:21 +0200
commit09257ce4dba8abf375c0d37278e842bd5dccda2d (patch)
tree433234492f03892efdbf65e32e841067eb2b270c /numpy/add_newdocs.py
parentb19fe295fd7427b03e65ed1f5212623153b792e2 (diff)
downloadnumpy-09257ce4dba8abf375c0d37278e842bd5dccda2d.tar.gz
BUG: ensure consistent result dtype of count_nonzero
The slowpath using apply_along_axis for size 1 axis did not ensure that the dtype is intp like all other paths. This caused inconsistent dtypes on windows where the default integer type is int32. Closes gh-9468
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions