diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 22:25:56 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 22:25:56 +0000 |
commit | 88f59b32e212e41ec905969263345be7d335e8e2 (patch) | |
tree | 12bdde0a3be060da58bf76c4620e662d8e7c58db | |
parent | d76c27de89576f888618a20c54216991f9bedaad (diff) | |
download | numpy-88f59b32e212e41ec905969263345be7d335e8e2.tar.gz |
Add complex types correctly.
-rw-r--r-- | numpy/core/numerictypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py index 57a0fbb19..396c00de8 100644 --- a/numpy/core/numerictypes.py +++ b/numpy/core/numerictypes.py @@ -301,7 +301,7 @@ def _set_array_types(): 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) |