summaryrefslogtreecommitdiff
path: root/numpy/lib/getlimits.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-17 00:07:21 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-17 00:07:21 +0000
commit4593515985f1aa30cf07715ace5eeee6da848c97 (patch)
treeab13435f4bec383abc7c04ca7b0259b44dd2519d /numpy/lib/getlimits.py
parenta397b5545b1a20e1b0e39881eb8cf8d2dd26b793 (diff)
downloadnumpy-4593515985f1aa30cf07715ace5eeee6da848c97.tar.gz
Fixed up usage of dtype to be consistent with new dtype objects.
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 3b5bd9211..e2d68147f 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.obj2dtype(dtype)
+ newdtype = numeric.obj2arrtype(dtype)
if newdtype is not dtype:
dtypes.append(newdtype)
dtype = newdtype