3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-13 17:36:15 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-03 13:28:28 -07:00
parent a119953676
commit b642686dca

View file

@ -1109,6 +1109,7 @@ unsigned theory_diff_logic<Ext>::simplex2edge(unsigned e) {
template<typename Ext> template<typename Ext>
void theory_diff_logic<Ext>::update_simplex(Simplex& S) { void theory_diff_logic<Ext>::update_simplex(Simplex& S) {
m_graph.set_to_zero(get_zero(true), get_zero(false));
unsynch_mpq_inf_manager inf_mgr; unsynch_mpq_inf_manager inf_mgr;
unsynch_mpq_manager& mgr = inf_mgr.get_mpq_manager(); unsynch_mpq_manager& mgr = inf_mgr.get_mpq_manager();
unsigned num_nodes = m_graph.get_num_nodes(); unsigned num_nodes = m_graph.get_num_nodes();
@ -1193,6 +1194,7 @@ typename theory_diff_logic<Ext>::inf_eps theory_diff_logic<Ext>::value(theory_va
template<typename Ext> template<typename Ext>
typename theory_diff_logic<Ext>::inf_eps typename theory_diff_logic<Ext>::inf_eps
theory_diff_logic<Ext>::maximize(theory_var v, expr_ref& blocker, bool& has_shared) { theory_diff_logic<Ext>::maximize(theory_var v, expr_ref& blocker, bool& has_shared) {
SASSERT(is_consistent());
has_shared = false; has_shared = false;
Simplex& S = m_S; Simplex& S = m_S;