summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_beth_1
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-05 18:36:37 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-05 18:36:37 +0100
commit5902e5a5c40ec8fa32c7af8d4bcc57134a0bea66 (patch)
tree53b9aee47bbee39682a9c1a6c1ab0ef248a78389 /prolog/problems/clp_fd/puzzle_beth_1
parentd6b6ab704d4552db052099fa2a7c9b7e9ff6a297 (diff)
Simplify Prolog hint functions
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_beth_1')
-rw-r--r--prolog/problems/clp_fd/puzzle_beth_1/common.py2
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 fb00516..9bc1066 100644
--- a/prolog/problems/clp_fd/puzzle_beth_1/common.py
+++ b/prolog/problems/clp_fd/puzzle_beth_1/common.py
@@ -38,6 +38,6 @@ def test(code, aux_code):
hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_cases)}}]
return passed, hints
-def hint(program, solved_problems):
+def hint(code, aux_code):
# TODO
return []