mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
use value function in lar_solver (#4771)
* use value function in lar_solver Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * add missing return Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * check_feasible is called after column is added for fixed variable Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * na
This commit is contained in:
parent
5335097768
commit
620204bbb4
7 changed files with 41 additions and 110 deletions
|
@ -232,6 +232,7 @@ namespace bv {
|
|||
expr_ref b2b(bv.mk_bit2bool(e, i), m);
|
||||
m_bits[v].push_back(sat::null_literal);
|
||||
sat::literal lit = ctx.internalize(b2b, false, false, m_is_redundant);
|
||||
(void)lit;
|
||||
TRACE("bv", tout << "add-bit: " << lit << " " << literal2expr(lit) << "\n";);
|
||||
SASSERT(m_bits[v].back() == lit);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue