Skip to content

Commit 6bc7662

Browse files
committed
passes z3test
1 parent 1741855 commit 6bc7662

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/math/lp/dioph_eq.cpp

+5-7
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,7 @@ namespace lp {
653653
tout << "term_to_tighten + open_ml:";
654654
print_term_o(term_to_tighten + open_ml(m_tmp_l), tout)
655655
<< std::endl;
656-
print_lar_term_L(
657-
remove_fresh_vars(term_to_tighten + open_ml(m_tmp_l)), tout)
658-
<< std::endl;);
656+
);
659657
SASSERT(
660658
fix_vars(term_to_tighten + open_ml(m_tmp_l)) ==
661659
term_to_lar_solver(remove_fresh_vars(create_term_from_ind_c())));
@@ -925,10 +923,10 @@ namespace lp {
925923
} else {
926924
lra.add_var_bound(b->m_j, lconstraint_kind::GE, b->m_rs + mpq(1));
927925
}
928-
// if (lra.column_is_fixed(b->m_j)) {
929-
// if (fix_var(lar_solver_to_local(b->m_j)) == lia_move::conflict)
930-
// return lia_move::conflict;
931-
// }
926+
if (lra.column_is_fixed(b->m_j)) {
927+
if (fix_var(lar_solver_to_local(b->m_j)) == lia_move::conflict)
928+
return lia_move::conflict;
929+
}
932930
return lia_move::undef;
933931
}
934932

0 commit comments

Comments
 (0)