mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
a pending issue from #4866
https://github.com/Z3Prover/z3/issues/4866#issuecomment-748658905
This commit is contained in:
parent
dc5fa89de3
commit
cb8c6ffafc
3 changed files with 8 additions and 4 deletions
|
@ -340,6 +340,8 @@ namespace smt {
|
|||
void context::ensure_internalized(expr* e) {
|
||||
if (!e_internalized(e))
|
||||
internalize(e, false);
|
||||
if (is_app(e))
|
||||
internalize_term(to_app(e));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -354,9 +356,8 @@ namespace smt {
|
|||
|
||||
void context::internalize(expr* const* exprs, unsigned num_exprs, bool gate_ctx) {
|
||||
internalize_deep(exprs, num_exprs);
|
||||
for (unsigned i = 0; i < num_exprs; ++i) {
|
||||
for (unsigned i = 0; i < num_exprs; ++i)
|
||||
internalize_rec(exprs[i], gate_ctx);
|
||||
}
|
||||
}
|
||||
|
||||
void context::internalize_rec(expr * n, bool gate_ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue