3
0
Fork 0
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:
Nikolaj Bjorner 2018-02-04 09:51:45 -08:00
parent 354c16454a
commit 20fe08d80c
3 changed files with 11 additions and 25 deletions

View file

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