mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +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))
|
||||
return n->get_th_var(get_id());
|
||||
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);
|
||||
ctx.set_var_theory(bv, get_id());
|
||||
ctx.set_enode_flag(bv, true);
|
||||
|
|
Loading…
Reference in a new issue