[Numpy-discussion] Possible bug in numpy 1.6.1

Ake Sandgren ake.sandgren@hpc2n.umu...
Fri Mar 15 04:19:45 CDT 2013


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



More information about the NumPy-Discussion mailing list