From a38308792efceb062fd1b9d5ad6c52ef9a47f552 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Sun, 21 Aug 2022 15:47:19 -0700 Subject: [PATCH] #6288 floating points may also track bit-literals. Since the legacy solver doesn't handle dual tracking of literals we just let the floating point solver track. --- src/smt/theory_bv.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/smt/theory_bv.cpp b/src/smt/theory_bv.cpp index 556391250..6c4e1b3a7 100644 --- a/src/smt/theory_bv.cpp +++ b/src/smt/theory_bv.cpp @@ -294,8 +294,7 @@ namespace smt { m_trail_stack.push(add_var_pos_trail(b)); b->m_occs = new (get_region()) var_pos_occ(v, idx, b->m_occs); } - else { - SASSERT(th_id == null_theory_id); + else if (th_id == null_theory_id) { ctx.set_var_theory(l.var(), get_id()); SASSERT(ctx.get_var_theory(l.var()) == get_id()); bit_atom * b = new (get_region()) bit_atom();