[pypy-issue] [issue1153] numpypy: critical bug with array.size

Dmitrey tracker at bugs.pypy.org
Sun May 27 10:09:35 CEST 2012


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

>>>> from numpypy import arange,cos
>>>> x = cos(1+arange(10))
>>>> x.shape
(10,)
>>>> len(x)
10
>>>> x
array([ 0.54030231, -0.41614684, -0.9899925 , -0.65364362,  0.28366219,
        0.96017029,  0.75390225, -0.14550003, -0.91113026, -0.83907153])
>>>> x.size
5
what's the deuce - why 5, not 10??

tried with today's nightly build as well; linux ubuntu 32-bit Intel Atom

----------
messages: 4336
nosy: Dmitrey, pypy-issue
priority: critical
status: unread
title: numpypy: critical bug with array.size

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


More information about the pypy-issue mailing list