mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 14:23:40 +00:00
update solver only if there is a manager
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b03d4e4fc2
commit
6e05162df0
1 changed files with 2 additions and 1 deletions
|
@ -627,6 +627,7 @@ void cmd_context::set_produce_proofs(bool f) {
|
||||||
m_params.m_proof = f;
|
m_params.m_proof = f;
|
||||||
if (has_manager()) {
|
if (has_manager()) {
|
||||||
m().toggle_proof_mode(f ? PGM_ENABLED : PGM_DISABLED);
|
m().toggle_proof_mode(f ? PGM_ENABLED : PGM_DISABLED);
|
||||||
|
if (m_solver_factory)
|
||||||
mk_solver();
|
mk_solver();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue