[pypy-issue] [issue1715] numpy: ones_like yields incorrect type

Dmitrey tracker at bugs.pypy.org
Fri Mar 21 20:40:43 CET 2014


New submission from Dmitrey <dmitrey15 at ukr.net>:

>>>> ones_like(array(True))
array(1.0)

>>> ones_like(array(True))
array(True, dtype=bool)

----------
messages: 6619
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpy: ones_like yields incorrect type

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


More information about the pypy-issue mailing list