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" <[email protected]> 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: [email protected] Phone: +46 90 7866134 Fax: +46 90 7866126 > Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
