From 5902e5a5c40ec8fa32c7af8d4bcc57134a0bea66 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 5 Jan 2016 18:36:37 +0100 Subject: Simplify Prolog hint functions --- prolog/problems/clp_fd/magic_1/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prolog/problems/clp_fd/magic_1') diff --git a/prolog/problems/clp_fd/magic_1/common.py b/prolog/problems/clp_fd/magic_1/common.py index 3ffe72f..e69d5ea 100644 --- a/prolog/problems/clp_fd/magic_1/common.py +++ b/prolog/problems/clp_fd/magic_1/common.py @@ -51,6 +51,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 [] -- cgit v1.2.1