mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 06:00:53 +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
|
@ -161,9 +161,9 @@ namespace smt {
|
|||
}
|
||||
|
||||
enode* theory::ensure_enode(expr* e) {
|
||||
if (!ctx.e_internalized(e)) {
|
||||
if (!ctx.e_internalized(e))
|
||||
ctx.internalize(e, is_quantifier(e));
|
||||
}
|
||||
ctx.ensure_internalized(e); // make sure theory variables are attached.
|
||||
enode* n = ctx.get_enode(e);
|
||||
ctx.mark_as_relevant(n);
|
||||
return n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue