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

Pierre Haessig pierre.haessig at crans.org
Mon Oct 1 04:04:32 EDT 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.python.org/pipermail/numpy-discussion/attachments/20121001/ee1d93b0/attachment.sig>


More information about the NumPy-Discussion mailing list