3
0
Fork 0
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:
Nikolaj Bjorner 2021-08-31 08:55:48 -07:00
parent dde8fb0c37
commit 978bd9e560
12 changed files with 52 additions and 121 deletions

View file

@ -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());
}
}