From d7ae7eb0e416d5e5d9c02bc4f3a3cd0003b288ea Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 8 May 2016 17:29:57 +0200 Subject: Prolog: remove inference limit for CLP(FD) tests --- prolog/problems/clp_fd/puzzle_ratio_2/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prolog/problems/clp_fd/puzzle_ratio_2') diff --git a/prolog/problems/clp_fd/puzzle_ratio_2/common.py b/prolog/problems/clp_fd/puzzle_ratio_2/common.py index 8af5327..905de35 100644 --- a/prolog/problems/clp_fd/puzzle_ratio_2/common.py +++ b/prolog/problems/clp_fd/puzzle_ratio_2/common.py @@ -34,7 +34,7 @@ def test(code, aux_code): if engine_id is not None and 'error' not in map(itemgetter(0), output): # Engine successfully created, and no syntax error in program. for query, answers in test_cases: - if prolog.engine.check_answers(engine_id, query=query, answers=answers, timeout=1.0): + if prolog.engine.check_answers(engine_id, query=query, answers=answers, timeout=1.0, inference_limit=None): n_correct += 1 except socket.timeout: pass -- cgit v1.2.1