File tree 1 file changed +2
-16
lines changed
1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ namespace lp {
418
418
419
419
template <typename T> term_o fix_vars (const T& t) const {
420
420
term_o ret;
421
- for (auto & p: t) {
421
+ for (const auto & p: t) {
422
422
if (is_fixed (p.var ())) {
423
423
ret.c () += p.coeff () * this ->lra .get_lower_bound (p.var ()).x ;
424
424
} else {
@@ -446,20 +446,6 @@ namespace lp {
446
446
subs_front_in_indexed_vector (q);
447
447
}
448
448
449
- void debug_remove_fresh_vars (term_o& t) {
450
- std::queue<unsigned > q;
451
- for (const auto & p: t) {
452
- if (is_fresh_var (p.j ())) {
453
- q.push (p.j ());
454
- }
455
- }
456
- while (!q.empty ()) {
457
- unsigned j = pop_front (q);
458
-
459
- }
460
-
461
- }
462
-
463
449
lia_move tighten_with_S () {
464
450
int change = 0 ;
465
451
for (unsigned j = 0 ; j < lra.column_count (); j++) {
@@ -1001,7 +987,7 @@ namespace lp {
1001
987
return j >= lra.column_count ();
1002
988
}
1003
989
bool can_substitute (unsigned k) {
1004
- return k < m_k2s.size () && m_k2s[k] != - 1 ;
990
+ return k < m_k2s.size () && m_k2s[k] != UINT_MAX ;
1005
991
}
1006
992
u_dependency * eq_deps (const lar_term& t) {
1007
993
NOT_IMPLEMENTED_YET ();
You can’t perform that action at this time.
0 commit comments