mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix #4899
This commit is contained in:
parent
11477f1ed1
commit
727095c563
5 changed files with 38 additions and 20 deletions
|
@ -220,7 +220,7 @@ void proto_model::cleanup() {
|
|||
}
|
||||
for (unsigned i = 0; i < m_const_decls.size(); ++i) {
|
||||
func_decl* d = m_const_decls[i];
|
||||
expr* e = m_interp[d];
|
||||
expr* e = m_interp[d].second;
|
||||
expr* r = cleanup_expr(trail, e, found_aux_fs);
|
||||
if (e != r) {
|
||||
register_decl(d, r);
|
||||
|
@ -385,7 +385,7 @@ model * proto_model::mk_model() {
|
|||
model * mdl = alloc(model, m);
|
||||
|
||||
for (auto const& kv : m_interp) {
|
||||
mdl->register_decl(kv.m_key, kv.m_value);
|
||||
mdl->register_decl(kv.m_key, kv.m_value.second);
|
||||
}
|
||||
|
||||
for (auto const& kv : m_finterp) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue