From 5547a6a9dfd05bd921c25cb4442c58a2a07ec009 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 6 May 2016 12:26:47 +0200 Subject: Prolog: increase inference limit for test queries Needed for problems/clp_fd/magic_1. --- prolog/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prolog/engine.py b/prolog/engine.py index 2e25e14..3bc6825 100644 --- a/prolog/engine.py +++ b/prolog/engine.py @@ -144,7 +144,7 @@ def check_answers(engine, query, answers, timeout=10): start = time.monotonic() try: # Limit inferences for each solution to curb unbounded recursion. - limited = '''(call_with_inference_limit(({}), 100000, _ILR), + limited = '''(call_with_inference_limit(({}), 500000, _ILR), _ILR \= inference_limit_exceeded)'''.format(query) # Run the query. reply, output = ask(engine, limited, timeout) -- cgit v1.2.1