mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
d745d03afd
commit
3d26b501e7
3 changed files with 3 additions and 3 deletions
|
@ -375,7 +375,6 @@ namespace smt {
|
|||
}
|
||||
else {
|
||||
SASSERT(is_app(n));
|
||||
SASSERT(!gate_ctx);
|
||||
internalize_term(to_app(n));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue