diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-31 21:02:19 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-31 21:02:19 +0000 |
commit | 41496b7356906d31b61c2f208e622eb4bd0c2ec2 (patch) | |
tree | ff8ade07a7464a2a254bbc17be0792b0acb90d80 /numpy/lib/getlimits.py | |
parent | 8a52fe2795b224fb9e9daa3877e385a7975a7a5b (diff) | |
download | numpy-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.py | 2 |
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 |