3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 00:26:38 +00:00

fixed fixme

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-12-09 16:20:35 -08:00
parent 09eac8e371
commit 2b49bd189a

View file

@ -637,8 +637,9 @@ namespace polysat {
if (c.is_assigned(v))
return;
auto [sc, d, value] = c.m_constraint_index[idx];
// fixme: constraint must be assigned a value l_true or l_false at this point.
// adjust sc to the truth value of the constraint when passed to forbidden intervals.
SASSERT(value != l_undef);
if (value == l_false)
sc = ~sc;
entry* ne = alloc_entry(v, idx);
if (!m_forbidden_intervals.get_interval(sc, v, *ne)) {