mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 23:35:46 +00:00
remove scoped
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
dde8fb0c37
commit
978bd9e560
12 changed files with 52 additions and 121 deletions
|
@ -52,13 +52,13 @@ namespace polysat {
|
|||
m_literals.push_back(lit);
|
||||
}
|
||||
|
||||
void clause_builder::push_new_constraint(scoped_signed_constraint c) {
|
||||
void clause_builder::push_new_constraint(signed_constraint c) {
|
||||
SASSERT(c);
|
||||
if (c.is_always_false())
|
||||
return;
|
||||
m_level = std::max(m_level, c->level());
|
||||
m_literals.push_back(c.blit());
|
||||
m_new_constraints.push_back(c.detach());
|
||||
m_new_constraints.push_back(c.get());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue