mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
fix assertion in model converter for incremental mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aeabdb4aae
commit
d1854ab4d2
|
@ -46,7 +46,7 @@ namespace sat {
|
|||
UNREACHABLE();
|
||||
throw solver_exception("flipping assumption");
|
||||
}
|
||||
if (m_solver && m_solver->is_external(v)) {
|
||||
if (m_solver && m_solver->is_external(v) && m_solver->is_incremental()) {
|
||||
std::cout << "flipping external v" << v << "\n";
|
||||
UNREACHABLE();
|
||||
throw solver_exception("flipping external");
|
||||
|
|
|
@ -970,6 +970,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
void insert(literal l) {
|
||||
VERIFY(process_var(l.var()));
|
||||
m_queue.insert(l);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue