summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-03-10 21:19:42 +0000
committercookedm <cookedm@localhost>2006-03-10 21:19:42 +0000
commitf2db317c1fad63f1c85944ba8443b465e32774dc (patch)
treed78a7b19f1594f34c86adbdb08389b30a5c95d4d /numpy/lib
parent3493d8b3cee54037e893fde83f3113a66b0ec7e8 (diff)
downloadnumpy-f2db317c1fad63f1c85944ba8443b465e32774dc.tar.gz
Run tabnanny over the code, and replace uses of tab for indentation with spaces
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/machar.py6
-rw-r--r--numpy/lib/tests/test_twodim_base.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/machar.py b/numpy/lib/machar.py
index 894623e82..249dfddad 100644
--- a/numpy/lib/machar.py
+++ b/numpy/lib/machar.py
@@ -123,10 +123,10 @@ class MachAr(object):
break
a = a * beta
negep = negep - 1
- # Prevent infinite loop on PPC with gcc 4.0:
- if negep < 0:
+ # Prevent infinite loop on PPC with gcc 4.0:
+ if negep < 0:
raise RuntimeError, "could not determine machine tolerance " \
- "for 'negep', locals() -> %s" % (locals())
+ "for 'negep', locals() -> %s" % (locals())
negep = -negep
epsneg = a
diff --git a/numpy/lib/tests/test_twodim_base.py b/numpy/lib/tests/test_twodim_base.py
index 4213078c5..e32f29478 100644
--- a/numpy/lib/tests/test_twodim_base.py
+++ b/numpy/lib/tests/test_twodim_base.py
@@ -19,7 +19,7 @@ def get_mat(n):
class test_eye(ScipyTestCase):
def check_basic(self):
- assert_equal(eye(4),array([[1,0,0,0],
+ assert_equal(eye(4),array([[1,0,0,0],
[0,1,0,0],
[0,0,1,0],
[0,0,0,1]]))