Skip to content

Commit 8d74786

Browse files
committed
cosmetics
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent deac00a commit 8d74786

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/math/lp/dioph_eq.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ namespace lp {
301301
}
302302

303303
// the term has form sum(a_i*x_i) - t.j() = 0,
304-
// i is the index of the term in the lra.m_terms
305304
void fill_entry(const lar_term& t) {
306305
TRACE("dioph_eq", print_lar_term_L(t, tout) << std::endl;);
307306
entry te = {lar_term(t.j()), mpq(0), entry_status::F};
@@ -323,9 +322,9 @@ namespace lp {
323322
m_e_matrix.add_new_element(entry_index, lj, p.coeff());
324323
}
325324
}
326-
if (is_fixed(t.j()))
325+
if (is_fixed(t.j())) {
327326
e.m_c -= lia.lower_bound(t.j()).x;
328-
else {
327+
} else {
329328
unsigned lj = add_var(t.j());
330329
while (lj >= m_e_matrix.column_count())
331330
m_e_matrix.add_column();

0 commit comments

Comments
 (0)