File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ namespace lp {
219219 void init () {
220220 m_e_matrix = static_matrix<mpq, mpq>(lra.row_count (), lra.column_count ());
221221 m_report_branch = false ;
222- unsigned n_of_rows = lra.A_r ().row_count ();
223222 m_k2s.clear ();
224223 m_k2s.resize (lra.column_count (), -1 );
225224 m_conflict_index = -1 ;
@@ -230,7 +229,7 @@ namespace lp {
230229 for (unsigned i = 0 ; i < lra.terms ().size (); i++) {
231230 const lar_term* t = lra.terms ()[i];
232231 TRACE (" dioph_eq" , tout << " term " << i <<" :" ; lra.print_term (*t, tout) << " \n " ;
233- for (auto & p: *t) {
232+ for (const auto & p: *t) {
234233 lra.print_column_info (p.var (), tout);
235234 }
236235 );
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ template <typename T>
4747using row_strip = vector<row_cell<T>>;
4848template <typename K> mpq get_denominators_lcm (const K & row) {
4949 mpq r = mpq (1 );
50- for (auto & c : row)
50+ for (const auto & c : row)
5151 r = lcm (r, denominator (c.coeff ()));
5252 return r;
5353}
You can’t perform that action at this time.
0 commit comments