Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Jul 18, 2021
1 parent cde3eac commit 284d599
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/smt/proto_model/proto_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,12 @@ void proto_model::cleanup() {
TRACE("model_bug", model_v2_pp(tout, *this););
func_decl_set found_aux_fs;
expr_ref_vector trail(m);
for (auto const& kv : m_finterp) {
TRACE("model_bug", tout << kv.m_key->get_name() << "\n";);
func_interp * fi = kv.m_value;
ptr_buffer<func_interp> finterps;
for (auto const& kv : m_finterp)
finterps.push_back(kv.m_value);
for (auto* fi : finterps)
cleanup_func_interp(trail, fi, found_aux_fs);
}

for (unsigned i = 0; i < m_const_decls.size(); ++i) {
func_decl* d = m_const_decls[i];
expr* e = m_interp[d].second;
Expand Down

0 comments on commit 284d599

Please sign in to comment.