diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-03-29 06:06:00 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-03-29 06:06:00 +0000 |
commit | 7c4be14e609cea05db330e39fbf79926afe16c2e (patch) | |
tree | 2c63e2cbe2c4b906c68867e9095730ed420a45a6 /numpy/core/oldnumeric.py | |
parent | 4aa3f16135c98a0a1d9c049dafe89cd272e01d87 (diff) | |
download | numpy-7c4be14e609cea05db330e39fbf79926afe16c2e.tar.gz |
Fix up asanyarray usage
Diffstat (limited to 'numpy/core/oldnumeric.py')
-rw-r--r-- | numpy/core/oldnumeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/oldnumeric.py b/numpy/core/oldnumeric.py index 50e2b4c29..aed834c9f 100644 --- a/numpy/core/oldnumeric.py +++ b/numpy/core/oldnumeric.py @@ -257,7 +257,7 @@ def transpose(a, axes=None): def sort(a, axis=-1): """sort(a,axis=-1) returns array with elements sorted along given axis. """ - a = asanyarray(a, copy=True) + a = asanyarray(a).copy() a.sort(axis) return a |