3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 06:45:25 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-12-02 15:21:59 -08:00
parent 1eab774b91
commit 37a4dd68d0
8 changed files with 48 additions and 31 deletions

View file

@ -184,6 +184,7 @@ namespace smt {
std::swap(source, target);
offset.neg();
}
if (ctx.b_internalized(n)) return true;
bool_var bv = ctx.mk_bool_var(n);
ctx.set_var_theory(bv, get_id());
atom * a = alloc(atom, bv, source, target, offset);