mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
term
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f1a302bba7
commit
c527fda0b6
|
@ -54,7 +54,7 @@ unsigned theory_user_propagator::add_expr(expr* e) {
|
||||||
if (is_attached_to_var(n))
|
if (is_attached_to_var(n))
|
||||||
return n->get_th_var(get_id());
|
return n->get_th_var(get_id());
|
||||||
theory_var v = mk_var(n);
|
theory_var v = mk_var(n);
|
||||||
if (m.is_bool(e)) {
|
if (m.is_bool(e) && !ctx.b_internalized(e)) {
|
||||||
bool_var bv = ctx.mk_bool_var(e);
|
bool_var bv = ctx.mk_bool_var(e);
|
||||||
ctx.set_var_theory(bv, get_id());
|
ctx.set_var_theory(bv, get_id());
|
||||||
ctx.set_enode_flag(bv, true);
|
ctx.set_enode_flag(bv, true);
|
||||||
|
|
Loading…
Reference in a new issue