Skip to content

Commit fef1596

Browse files
pin expression passed to validate_eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
1 parent 4f75153 commit fef1596

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/smt/theory_lra.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,8 @@ class theory_lra::imp {
34993499
flet<bool> _svalid(s_validating, true);
35003500
context nctx(m, ctx().get_fparams(), ctx().get_params());
35013501
add_background(nctx);
3502-
nctx.assert_expr(m.mk_not(m.mk_eq(x->get_expr(), y->get_expr())));
3502+
expr_ref neq(m.mk_not(m.mk_eq(x->get_expr(), y->get_expr())), m);
3503+
nctx.assert_expr(neq);
35033504
cancel_eh<reslimit> eh(m.limit());
35043505
scoped_timer timer(1000, &eh);
35053506
lbool r = nctx.check();

0 commit comments

Comments
 (0)