Skip to content

Commit

Permalink
Fix copy-and-paste error discovered by re-factor testing...
Browse files Browse the repository at this point in the history
  • Loading branch information
teoliphant committed Jul 28, 2010
1 parent 94f73b1 commit 5150c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/src/multiarray/convert_datatype.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ _broadcast_cast(PyArrayObject *out, PyArrayObject *in,
if (PyDataType_REFCHK(in->descr)) {
obptr = buffers[1];
for (i = 0; i < N; i++, obptr+=selsize) {
PyArray_Item_XDECREF(obptr, out->descr);
PyArray_Item_XDECREF(obptr, in->descr);
}
}
if (PyDataType_REFCHK(out->descr)) {
Expand Down

0 comments on commit 5150c88

Please sign in to comment.