summaryrefslogtreecommitdiff
path: root/scipy/base/scimath.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2005-10-29 21:30:16 +0000
committercookedm <cookedm@localhost>2005-10-29 21:30:16 +0000
commit8b7ccd9fe0f929ac08120fbae192819d96820acb (patch)
tree11baefe7d04a2c499be305f688f33abc5326a3ca /scipy/base/scimath.py
parent75f8d039ab7ce606fd524dc53d9503947917d92f (diff)
downloadnumpy-8b7ccd9fe0f929ac08120fbae192819d96820acb.tar.gz
Whitespace cleanup and make classes new-type
Diffstat (limited to 'scipy/base/scimath.py')
-rw-r--r--scipy/base/scimath.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scipy/base/scimath.py b/scipy/base/scimath.py
index 0f0f5d0ac..aa5ada849 100644
--- a/scipy/base/scimath.py
+++ b/scipy/base/scimath.py
@@ -35,7 +35,7 @@ def _fix_real_abs_gt_1(x):
if any(isreal(x) & (abs(x)>1)):
x = _tocomplex(x)
return x
-
+
def sqrt(x):
x = _fix_real_lt_zero(x)
return _nx.sqrt(x)
@@ -65,7 +65,6 @@ def power(x, p):
x = _fix_real_lt_zero(x)
return _nx.power(x, p)
-
def arccos(x):
x = _fix_real_abs_gt_1(x)
return arccos(x)