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

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Aug 5 18:25:58 EDT 2006


Author: oliphant
Date: 2006-08-05 17:25:56 -0500 (Sat, 05 Aug 2006)
New Revision: 2972

Modified:
   trunk/numpy/core/numerictypes.py
Log:
Add complex types correctly.

Modified: trunk/numpy/core/numerictypes.py
===================================================================
--- trunk/numpy/core/numerictypes.py	2006-08-05 20:36:39 UTC (rev 2971)
+++ trunk/numpy/core/numerictypes.py	2006-08-05 22:25:56 UTC (rev 2972)
@@ -301,7 +301,7 @@
     for bytes in fbytes:
         bits = 8*bytes
         _add_array_type('float', bits)
-        _add_array_type('complex', bits)
+        _add_array_type('complex', 2*bits)
     _gi = dtype('p')
     if _gi.type not in sctypes['int']:
         sctypes['int'].append(_gi.type)




More information about the Numpy-svn mailing list