File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1291,7 +1291,6 @@ namespace lp {
1291
1291
print_entry (i, tout););
1292
1292
CTRACE (
1293
1293
" dioph_eq" , !entry_invariant (i), tout << " invariant delta:" ; {
1294
- const auto & e = m_entries[i];
1295
1294
print_term_o (get_term_from_entry (ei) -
1296
1295
fix_vars (open_ml (m_l_matrix.m_rows [ei])),
1297
1296
tout)
@@ -1312,7 +1311,6 @@ namespace lp {
1312
1311
}
1313
1312
1314
1313
bool entry_invariant (unsigned ei) const {
1315
- const auto & e = m_entries[ei];
1316
1314
bool ret =
1317
1315
term_to_lar_solver (remove_fresh_vars (get_term_from_entry (ei))) ==
1318
1316
fix_vars (open_ml (m_l_matrix.m_rows [ei]));
Original file line number Diff line number Diff line change @@ -516,8 +516,8 @@ class lp_core_solver_base {
516
516
}
517
517
518
518
519
- template <typename T >
520
- void swap (T &v, unsigned i, unsigned j) noexcept {
519
+ template <typename R >
520
+ void swap (R &v, unsigned i, unsigned j) noexcept {
521
521
auto t = v[i];
522
522
v[i] = v[j];
523
523
v[j] = t;
You can’t perform that action at this time.
0 commit comments