mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 08:23:17 +00:00
moving to context reset model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
724a42b6f2
commit
203ba12abc
3 changed files with 133 additions and 102 deletions
|
@ -178,8 +178,9 @@ model * model::translate(ast_translation & translator) const {
|
|||
// Translate usort interps
|
||||
for (auto const& kv : m_usort2universe) {
|
||||
ptr_vector<expr> new_universe;
|
||||
for (expr* e : *kv.m_value)
|
||||
for (expr* e : *kv.m_value) {
|
||||
new_universe.push_back(translator(e));
|
||||
}
|
||||
res->register_usort(translator(kv.m_key),
|
||||
new_universe.size(),
|
||||
new_universe.c_ptr());
|
||||
|
@ -342,7 +343,6 @@ void model::cleanup_interp(top_sort& ts, func_decl* f) {
|
|||
fi->insert_entry(fe->get_args(), e2);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue