mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
levels/crit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
af0e4d402b
commit
d514464e30
6 changed files with 14 additions and 13 deletions
|
@ -145,7 +145,7 @@ namespace polysat {
|
|||
SASSERT(c);
|
||||
SASSERT(activate || dep != null_dependency); // if we don't activate the constraint, we need the dependency to access it again later.
|
||||
m_constraints.ensure_bvar(c.get());
|
||||
clause* unit = m_constraints.store(clause::from_unit(c, mk_dep_ref(dep)));
|
||||
clause* unit = m_constraints.store(clause::from_unit(m_level, c, mk_dep_ref(dep)));
|
||||
c->set_unit_clause(unit);
|
||||
if (dep != null_dependency)
|
||||
m_constraints.register_external(c.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue