Skip to content

Commit 6979b89

Browse files
committed
fix: ensure full domain coverage of functions
Signed-off-by: Will Killian <william.killian@outlook.com>
1 parent f2d2143 commit 6979b89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scheduler/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _z3ify_time_constraint(
325325
true: list[tuple[z3.BoolRef, z3.BoolRef]] = []
326326
false: list[tuple[z3.BoolRef, z3.BoolRef]] = []
327327

328-
for slot_i, slot_j in itertools.combinations(self._slots, 2):
328+
for slot_i, slot_j in itertools.combinations_with_replacement(self._slots, 2):
329329
c_i = z3_data.time_slot_constants[slot_i]
330330
c_j = z3_data.time_slot_constants[slot_j]
331331
if self._cached_slot_relationship(name, slot_i, slot_j):

0 commit comments

Comments
 (0)