[Numpy-discussion] uint64 typecasting with scalars broken (?)
Christian Marquardt
christian@marquardt...
Mon Apr 23 07:28:02 CDT 2007
On Mon, April 23, 2007 01:28, Charles R Harris wrote:
> Looks like a bug to me:
>
> In [5]: x = array([1],dtype=uint64)
>
> In [6]: type(x[0])
> Out[6]: <type 'numpy.uint64'>
>
> In [7]: type(x[0]+1)
> Out[7]: <type 'numpy.float64'>
>
> Chuck
Yeah. Especially as it works apparently fine for uint32 and int64.
Christian.
More information about the Numpy-discussion
mailing list