mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
c6b4641050
commit
b3c863fb15
2 changed files with 7 additions and 9 deletions
|
@ -374,7 +374,7 @@ namespace opt {
|
|||
void context::set_model(model_ref& m) {
|
||||
m_model = m;
|
||||
opt_params optp(m_params);
|
||||
if (optp.dump_models()) {
|
||||
if (optp.dump_models() && m) {
|
||||
model_ref md = m->copy();
|
||||
fix_model(md);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue