Skip to content

Commit

Permalink
fixed large MUC test
Browse files Browse the repository at this point in the history
  • Loading branch information
hweichelt committed Apr 26, 2024
1 parent 6387348 commit 8c01c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/clingexplaid/test_muc.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_core_computer_shrink_large_instance_random(self) -> None:
ctl = clingo.Control()

n_assumptions = 1000
random_core = random.choices(range(n_assumptions), k=10)
random_core = random.choices(range(1, n_assumptions), k=10)
program = f"""
a(1..{n_assumptions}).
:- {', '.join([f"a({i})" for i in random_core])}.
Expand Down

0 comments on commit 8c01c4c

Please sign in to comment.