Skip to content

Commit e0a08f1

Browse files
committed
fix the build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
1 parent 30f5599 commit e0a08f1

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

src/math/lp/dioph_eq.cpp

+2-16
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ namespace lp {
418418

419419
template <typename T> term_o fix_vars(const T& t) const {
420420
term_o ret;
421-
for (auto& p: t) {
421+
for (const auto& p: t) {
422422
if (is_fixed(p.var())) {
423423
ret.c() += p.coeff() * this->lra.get_lower_bound(p.var()).x;
424424
} else {
@@ -446,20 +446,6 @@ namespace lp {
446446
subs_front_in_indexed_vector(q);
447447
}
448448

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-
463449
lia_move tighten_with_S() {
464450
int change = 0;
465451
for (unsigned j = 0; j < lra.column_count(); j++) {
@@ -1001,7 +987,7 @@ namespace lp {
1001987
return j >= lra.column_count();
1002988
}
1003989
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;
1005991
}
1006992
u_dependency * eq_deps(const lar_term& t) {
1007993
NOT_IMPLEMENTED_YET();

0 commit comments

Comments
 (0)