Skip to content

Commit

Permalink
Make terms that are internalized on the fly relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph M. Wintersteiger committed Oct 12, 2021
1 parent 8e69f76 commit 00e8ea7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/smt/theory_fpa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace smt {
{
params_ref p;
p.set_bool("arith_lhs", true);
m_th_rw.updt_params(p);
m_th_rw.updt_params(p);
}

theory_fpa::~theory_fpa()
Expand Down Expand Up @@ -284,6 +284,9 @@ namespace smt {
}
default: /* ignore */;
}

if (!ctx.relevancy())
relevant_eh(term);
}

return true;
Expand Down Expand Up @@ -623,7 +626,7 @@ namespace smt {
bv2fp.convert_min_max_specials(&mdl, &new_model, seen);
bv2fp.convert_uf2bvuf(&mdl, &new_model, seen);

for (func_decl* f : seen)
for (func_decl* f : seen)
mdl.unregister_decl(f);

for (unsigned i = 0; i < new_model.get_num_constants(); i++) {
Expand Down

0 comments on commit 00e8ea7

Please sign in to comment.