[pypy-issue] [issue1663] np.sum on arrays of bools doesn't count past 127 correctly

Armin Rigo tracker at bugs.pypy.org
Wed Dec 18 22:25:09 CET 2013


Armin Rigo <armin.rigo at gmail.com> added the comment:

@ianozsvald: thanks for the link (and thanks bdk for the quick fixing).  Indeed,
only integer types smaller than np.int_ should get promoted to np.int_ --- not
to a larger integer, and not float->double.

----------
status: resolved -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1663>
________________________________________


More information about the pypy-issue mailing list