summaryrefslogtreecommitdiff
path: root/scipy/base/machar.py
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/base/machar.py')
-rw-r--r--scipy/base/machar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scipy/base/machar.py b/scipy/base/machar.py
index 06f407e0f..0541e4a22 100644
--- a/scipy/base/machar.py
+++ b/scipy/base/machar.py
@@ -66,6 +66,7 @@ class MachAr:
two = one + one
zero = one - one
+ # Do we really need to do this? Aren't they 2 and 2.0?
# Determine ibeta and beta
a = one
while 1:
@@ -85,7 +86,7 @@ class MachAr:
beta = float_conv(ibeta)
# Determine it and irnd
- it = 0
+ it = -1
b = one
while 1:
it = it + 1