diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-09-23 19:38:20 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-09-23 20:03:01 +0200 |
commit | ed7e9ab53a43188268cd8ddd7e8eb125fb32e495 (patch) | |
tree | 2e26905754a9057ae4f1310e492403b64d86b4d0 /numpy/polynomial/polyutils.py | |
parent | 372d9cab91990da4631b29ee946fc39ac8422bcc (diff) | |
download | numpy-ed7e9ab53a43188268cd8ddd7e8eb125fb32e495.tar.gz |
BUG: INCREF before DECREF when copying object arrays.
Only the change in dtype_transfer actually seems to be
related to the simple np.copyto(a, a) bug, when a is a scalar
object array.
It seemed however safer to me, to generally turn around the
logic, even if it may not be necessary and in one place
requires an extra temporary variable.
Closes gh-3787
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions