[Numpy-discussion] Possible bug in numpy 1.6.1

Nathaniel Smith njs@pobox....
Fri Mar 15 04:44:30 CDT 2013


That does look unlikely yeah... Does this have any consequences that you've
found? Is there a test case that fails before the patch but works after?

-n
On 15 Mar 2013 09:19, "Ake Sandgren" <ake.sandgren@hpc2n.umu.se> wrote:

> Hi!
>
> Found this thing that looks like a bug in
> core/src/multiarray/dtype_transfer.c
>
> diff -ru site/numpy/core/src/multiarray/dtype_transfer.c
> amd64_ubuntu1004-intel-acml/numpy/core/src/multiarray/dtype_transfer.c
> --- site/numpy/core/src/multiarray/dtype_transfer.c     2011-07-20
> 20:25:28.000000000 +0200
> +++
> amd64_ubuntu1004-intel-acml/numpy/core/src/multiarray/dtype_transfer.c
> 2013-03-14 22:09:38.000000000 +0100
> @@ -1064,7 +1064,7 @@
>      _one_to_n_data *d = (_one_to_n_data *)data;
>      PyArray_StridedTransferFn *subtransfer = d->stransfer,
>                  *stransfer_finish_src = d->stransfer_finish_src;
> -    void *subdata = d->data, *data_finish_src = data_finish_src;
> +    void *subdata = d->data, *data_finish_src = d->data_finish_src;
>      npy_intp subN = d->N, dst_itemsize = d->dst_itemsize;
>
>      while (N > 0) {
>
>
> --
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: ake@hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130315/169c226a/attachment.html 


More information about the NumPy-Discussion mailing list