Increased recursion limit in segment.py
authorNeil Smith <neil.git@njae.me.uk>
Sat, 19 Oct 2013 15:23:24 +0000 (16:23 +0100)
committerNeil Smith <neil.git@njae.me.uk>
Sat, 19 Oct 2013 15:23:24 +0000 (16:23 +0100)
segment.py

index 27bf103c573f0d228a03741ef34dd360138ad072..08bc0aa84244bf222655defba7b4a0773f87ebcf 100644 (file)
@@ -3,6 +3,8 @@ import string
 import collections
 from math import log10
 import itertools
+import sys
+sys.setrecursionlimit(1000000)
 
 def memo(f):
     "Memoize function f."