summaryrefslogtreecommitdiff
path: root/prolog/problems/dcg/number_3
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/dcg/number_3')
-rw-r--r--prolog/problems/dcg/number_3/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/dcg/number_3/common.py b/prolog/problems/dcg/number_3/common.py
index 82981d5..1768b3b 100644
--- a/prolog/problems/dcg/number_3/common.py
+++ b/prolog/problems/dcg/number_3/common.py
@@ -56,7 +56,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