mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
This commit is contained in:
parent
229ea569f1
commit
2fedcbd41e
3 changed files with 15 additions and 1 deletions
|
@ -63,9 +63,17 @@ namespace euf {
|
|||
}
|
||||
};
|
||||
|
||||
void solver::save_model(model_ref& mdl) {
|
||||
m_qmodel = mdl;
|
||||
}
|
||||
|
||||
void solver::update_model(model_ref& mdl) {
|
||||
TRACE("model", tout << "create model\n";);
|
||||
mdl->reset_eval_cache();
|
||||
if (m_qmodel) {
|
||||
mdl = m_qmodel;
|
||||
return;
|
||||
}
|
||||
mdl->reset_eval_cache();
|
||||
for (auto* mb : m_solvers)
|
||||
mb->init_model();
|
||||
m_values.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue