diff options
-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) |