summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-03-13 03:37:36 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-03-13 03:37:36 +0000
commit67940c3d69c51bae3561695693020ced3d9d470a (patch)
tree38d928e5ed7af6b6f72858cf76e89a75c8521bbb /numpy/core/numeric.py
parentcda50abbda59616f3794ca748c791a01a6e693a5 (diff)
downloadnumpy-67940c3d69c51bae3561695693020ced3d9d470a.tar.gz
Fix up oldnumeric.py functions to return intput class where possible. Allow complex-valued arrays in PyArray_Round. Add backward-compatible support for Python2.5 ssize_t changes.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 58d943066..0bb825cd8 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -76,7 +76,7 @@ def asarray(a, dtype=None, fortran=False, ndmin=0):
def asanyarray(a, dtype=None, copy=False, fortran=False, ndmin=0):
"""will pass subclasses through...
"""
- return array(a, dtype, copy=False, fortran=fortran, subok=1, ndmin=ndmin)
+ return array(a, dtype, copy=copy, fortran=fortran, subok=1, ndmin=ndmin)
def isfortran(a):
return a.flags['FNC']