3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-02-14 10:31:04 +02:00
parent d745d03afd
commit 3d26b501e7
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,8 @@ Revision History:
expr_ref func_decl_replace::operator()(expr* e) {
m_todo.push_back(e);
m_refs.push_back(e);
while (!m_todo.empty()) {
expr* a = m_todo.back(), *b;
if (m_cache.contains(a)) {

View file

@ -375,7 +375,6 @@ namespace smt {
}
else {
SASSERT(is_app(n));
SASSERT(!gate_ctx);
internalize_term(to_app(n));
}
}

View file

@ -297,7 +297,7 @@ namespace smt {
TRACE("datatype", tout << "internalizing term:\n" << mk_pp(term, m) << "\n";);
unsigned num_args = term->get_num_args();
for (unsigned i = 0; i < num_args; i++)
ctx.internalize(term->get_arg(i), has_quantifiers(term));
ctx.internalize(term->get_arg(i), m.is_bool(term) && has_quantifiers(term));
// the internalization of the arguments may trigger the internalization of term.
if (ctx.e_internalized(term))
return true;