3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-20 11:22:04 +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)) if (c.is_assigned(v))
return; return;
auto [sc, d, value] = c.m_constraint_index[idx]; auto [sc, d, value] = c.m_constraint_index[idx];
// fixme: constraint must be assigned a value l_true or l_false at this point. SASSERT(value != l_undef);
// adjust sc to the truth value of the constraint when passed to forbidden intervals. if (value == l_false)
sc = ~sc;
entry* ne = alloc_entry(v, idx); entry* ne = alloc_entry(v, idx);
if (!m_forbidden_intervals.get_interval(sc, v, *ne)) { if (!m_forbidden_intervals.get_interval(sc, v, *ne)) {