3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

fix ubuntu build in dio

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2024-12-29 13:33:37 -10:00 committed by Lev Nachmanson
parent c1ece49694
commit ac5c50f179
2 changed files with 2 additions and 4 deletions

View file

@ -1291,7 +1291,6 @@ namespace lp {
print_entry(i, tout);); print_entry(i, tout););
CTRACE( CTRACE(
"dioph_eq", !entry_invariant(i), tout << "invariant delta:"; { "dioph_eq", !entry_invariant(i), tout << "invariant delta:"; {
const auto& e = m_entries[i];
print_term_o(get_term_from_entry(ei) - print_term_o(get_term_from_entry(ei) -
fix_vars(open_ml(m_l_matrix.m_rows[ei])), fix_vars(open_ml(m_l_matrix.m_rows[ei])),
tout) tout)
@ -1312,7 +1311,6 @@ namespace lp {
} }
bool entry_invariant(unsigned ei) const { bool entry_invariant(unsigned ei) const {
const auto& e = m_entries[ei];
bool ret = bool ret =
term_to_lar_solver(remove_fresh_vars(get_term_from_entry(ei))) == term_to_lar_solver(remove_fresh_vars(get_term_from_entry(ei))) ==
fix_vars(open_ml(m_l_matrix.m_rows[ei])); fix_vars(open_ml(m_l_matrix.m_rows[ei]));

View file

@ -516,8 +516,8 @@ public:
} }
template <typename T> template <typename R>
void swap(T &v, unsigned i, unsigned j) noexcept { void swap(R &v, unsigned i, unsigned j) noexcept {
auto t = v[i]; auto t = v[i];
v[i] = v[j]; v[i] = v[j];
v[j] = t; v[j] = t;