mirror of
https://github.com/Z3Prover/z3
synced 2025-05-07 15:55:46 +00:00
fix #6371
This commit is contained in:
parent
b9cba82531
commit
876ca2f1a5
3 changed files with 11 additions and 4 deletions
|
@ -621,10 +621,15 @@ void cmd_context::set_produce_unsat_cores(bool f) {
|
|||
}
|
||||
|
||||
void cmd_context::set_produce_proofs(bool f) {
|
||||
SASSERT(!has_assertions() || m_params.m_proof == f);
|
||||
if (has_manager())
|
||||
if (m_params.m_proof == f)
|
||||
return;
|
||||
SASSERT(!has_assertions());
|
||||
if (has_manager()) {
|
||||
m().toggle_proof_mode(f ? PGM_ENABLED : PGM_DISABLED);
|
||||
std::cout << m_params.m_proof << " " << f << "\n";
|
||||
}
|
||||
m_params.m_proof = f;
|
||||
mk_solver();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue