[Numpy-svn] r3039 - trunk/numpy/core

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Aug 18 16:30:35 CDT 2006


Author: oliphant
Date: 2006-08-18 16:29:36 -0500 (Fri, 18 Aug 2006)
New Revision: 3039

Modified:
   trunk/numpy/core/numerictypes.py
Log:
Fix missing numeric type issues.

Modified: trunk/numpy/core/numerictypes.py
===================================================================
--- trunk/numpy/core/numerictypes.py	2006-08-18 19:18:18 UTC (rev 3038)
+++ trunk/numpy/core/numerictypes.py	2006-08-18 21:29:36 UTC (rev 3039)
@@ -76,9 +76,9 @@
 """
 
 # 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 @@
                     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 != '':



More information about the Numpy-svn mailing list