[Numpy-discussion] silently ignored size mismatch (bug??)

Pierre Haessig pierre.haessig@crans....
Mon Oct 1 03:04:32 CDT 2012


Hi,

Le 28/09/2012 21:02, Neal Becker a écrit :
> In [19]: u = np.arange (10)
>
> In [20]: v = np.arange (10)
>
> In [21]: u[v] = u
>
> In [22]: u[v] = np.arange(11)
>
> silence...
I've same behavior with my numpy 1.6.2.

It indeed looks strange that the end of the data vector is dropped in
silence.

Best,
Pierre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20121001/ee1d93b0/attachment.bin 


More information about the NumPy-Discussion mailing list