From a5bada5fbdbfa67a1f4c301c5e14897c268bc0a5 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Sat, 19 Oct 2013 16:23:24 +0100 Subject: [PATCH] Increased recursion limit in segment.py --- segment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/segment.py b/segment.py index 27bf103..08bc0aa 100644 --- a/segment.py +++ b/segment.py @@ -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." -- 2.34.1