3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-12 06:00:53 +00:00

address some crashes reported by Caleb

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-20 18:35:16 -07:00
parent 6524a70c32
commit 02f34ea4b1
3 changed files with 8 additions and 4 deletions

View file

@ -128,7 +128,7 @@ namespace smt {
enode* theory::ensure_enode(expr* e) {
if (!ctx.e_internalized(e)) {
ctx.internalize(e, false);
ctx.internalize(e, is_quantifier(e));
}
enode* n = ctx.get_enode(e);
ctx.mark_as_relevant(n);