diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-18 21:29:36 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-18 21:29:36 +0000 |
commit | 262dff23c6053efb7c28ca4dc7ccb294b7e25a4d (patch) | |
tree | ff5ee0db42e9555a002394d1faaad5cff40f2d35 /numpy | |
parent | 12d22f9337b3e24cccab694cd9caa73d73d1a92f (diff) | |
download | numpy-262dff23c6053efb7c28ca4dc7ccb294b7e25a4d.tar.gz |
Fix missing numeric type issues.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/numerictypes.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py index 3840033e8..38ba262ea 100644 --- a/numpy/core/numerictypes.py +++ b/numpy/core/numerictypes.py @@ -76,9 +76,9 @@ $Id: numerictypes.py,v 1.17 2005/09/09 22:20:06 teoliphant Exp $ """ # we add more at the bottom -__all__ = ['sctypeDict', 'sctypeNA', 'typeDict', 'typeNA', 'sctypes', 'ScalarType', 'obj2sctype', - 'cast', 'nbytes', 'sctype2char', 'maximum_sctype', 'issctype', - 'typecodes'] +__all__ = ['sctypeDict', 'sctypeNA', 'typeDict', 'typeNA', 'sctypes', + 'ScalarType', 'obj2sctype', 'cast', 'nbytes', 'sctype2char', + 'maximum_sctype', 'issctype', 'typecodes'] from multiarray import typeinfo, ndarray, array, empty, dtype import types as _types @@ -187,6 +187,7 @@ def _add_aliases(): na_name = "%s%d" % (base.capitalize(), bit) sctypeDict[na_name] = typeobj sctypeNA[na_name] = typeobj + sctypeDict[na_name] = typeobj sctypeNA[typeobj] = na_name sctypeNA[typeinfo[a][0]] = na_name if char != '': |