Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
Signed-off-by: Lev Nachmanson <[email protected]>
  • Loading branch information
levnach committed Feb 11, 2025
1 parent deac00a commit 8d74786
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/math/lp/dioph_eq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ namespace lp {
}

// the term has form sum(a_i*x_i) - t.j() = 0,
// i is the index of the term in the lra.m_terms
void fill_entry(const lar_term& t) {
TRACE("dioph_eq", print_lar_term_L(t, tout) << std::endl;);
entry te = {lar_term(t.j()), mpq(0), entry_status::F};
Expand All @@ -323,9 +322,9 @@ namespace lp {
m_e_matrix.add_new_element(entry_index, lj, p.coeff());
}
}
if (is_fixed(t.j()))
if (is_fixed(t.j())) {
e.m_c -= lia.lower_bound(t.j()).x;
else {
} else {
unsigned lj = add_var(t.j());
while (lj >= m_e_matrix.column_count())
m_e_matrix.add_column();
Expand Down

0 comments on commit 8d74786

Please sign in to comment.