Cranked up the runaway (8 was only for testing)

Sun, 19 Apr 2015 20:52:49 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 19 Apr 2015 20:52:49 +0300
changeset 127
66b206bd9510
parent 126
0fc519afba89
child 128
bd949c554dd2

Cranked up the runaway (8 was only for testing)

calc.py file | annotate | diff | comparison | revisions
--- a/calc.py	Sun Apr 19 20:49:43 2015 +0300
+++ b/calc.py	Sun Apr 19 20:52:49 2015 +0300
@@ -507,7 +507,7 @@
 
 		while x > 0:
 			runaway += 1
-			if runaway > 8:
+			if runaway > 1000:
 				raise ValueError('runaway triggered')
 
 			i = (x % divisor) / (divisor / PreferredBase)

mercurial