mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +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
2 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue