diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-05-08 17:29:57 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-05-08 17:29:57 +0200 |
commit | d7ae7eb0e416d5e5d9c02bc4f3a3cd0003b288ea (patch) | |
tree | 87945f6ba10fe26eacafe382784c2d3430fa04c7 /prolog/problems/clp_fd/puzzle_beth_1 | |
parent | fcede97411220ca6df841697c91968844f78446f (diff) |
Prolog: remove inference limit for CLP(FD) tests
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_beth_1')
-rw-r--r-- | prolog/problems/clp_fd/puzzle_beth_1/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/clp_fd/puzzle_beth_1/common.py b/prolog/problems/clp_fd/puzzle_beth_1/common.py index e187cc9..c9449e0 100644 --- a/prolog/problems/clp_fd/puzzle_beth_1/common.py +++ b/prolog/problems/clp_fd/puzzle_beth_1/common.py @@ -26,7 +26,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 |