mirror of
https://github.com/Z3Prover/z3
synced 2026-02-28 10:51:28 +00:00
fix more bugs with compilation of pb equalities
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
354c16454a
commit
20fe08d80c
3 changed files with 11 additions and 25 deletions
|
|
@ -1571,7 +1571,7 @@ namespace sat {
|
|||
m_constraints.push_back(c);
|
||||
}
|
||||
literal lit = c->lit();
|
||||
if (c->learned() && !s().at_base_lvl()) {
|
||||
if (c->learned() && m_solver && !s().at_base_lvl()) {
|
||||
SASSERT(lit == null_literal);
|
||||
// gets initialized after backjump.
|
||||
m_constraint_to_reinit.push_back(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue