summaryrefslogtreecommitdiff
path: root/numpy/lib/scimath.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/scimath.py')
-rw-r--r--numpy/lib/scimath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/scimath.py b/numpy/lib/scimath.py
index 2aa08d0ea..3da86d9c8 100644
--- a/numpy/lib/scimath.py
+++ b/numpy/lib/scimath.py
@@ -17,7 +17,7 @@ correctly handled. See their respective docstrings for specific examples.
"""
from __future__ import division, absolute_import, print_function
-__all__ = ['sqrt', 'log', 'log2', 'logn','log10', 'power', 'arccos',
+__all__ = ['sqrt', 'log', 'log2', 'logn', 'log10', 'power', 'arccos',
'arcsin', 'arctanh']
import numpy.core.numeric as nx
@@ -84,7 +84,7 @@ def _tocomplex(arr):
array([ 1.+0.j, 2.+0.j, 3.+0.j], dtype=complex64)
"""
if issubclass(arr.dtype.type, (nt.single, nt.byte, nt.short, nt.ubyte,
- nt.ushort,nt.csingle)):
+ nt.ushort, nt.csingle)):
return arr.astype(nt.csingle)
else:
return arr.astype(nt.cdouble)