summaryrefslogtreecommitdiff
path: root/numpy/lib/getlimits.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-31 21:02:19 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-31 21:02:19 +0000
commit41496b7356906d31b61c2f208e622eb4bd0c2ec2 (patch)
treeff8ade07a7464a2a254bbc17be0792b0acb90d80 /numpy/lib/getlimits.py
parent8a52fe2795b224fb9e9daa3877e385a7975a7a5b (diff)
downloadnumpy-41496b7356906d31b61c2f208e622eb4bd0c2ec2.tar.gz
Change arrtype --> sctype so that dtype is given pre-eminance in determining array type.
Diffstat (limited to 'numpy/lib/getlimits.py')
-rw-r--r--numpy/lib/getlimits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/getlimits.py b/numpy/lib/getlimits.py
index e2d68147f..921baebe2 100644
--- a/numpy/lib/getlimits.py
+++ b/numpy/lib/getlimits.py
@@ -27,7 +27,7 @@ class finfo(object):
if obj is not None:
return obj
dtypes = [dtype]
- newdtype = numeric.obj2arrtype(dtype)
+ newdtype = numeric.obj2sctype(dtype)
if newdtype is not dtype:
dtypes.append(newdtype)
dtype = newdtype