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:
parent
09eac8e371
commit
2b49bd189a
1 changed files with 3 additions and 2 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue