mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix the build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
30f5599064
commit
e0a08f16d3
|
@ -418,7 +418,7 @@ namespace lp {
|
||||||
|
|
||||||
template <typename T> term_o fix_vars(const T& t) const {
|
template <typename T> term_o fix_vars(const T& t) const {
|
||||||
term_o ret;
|
term_o ret;
|
||||||
for (auto& p: t) {
|
for (const auto& p: t) {
|
||||||
if (is_fixed(p.var())) {
|
if (is_fixed(p.var())) {
|
||||||
ret.c() += p.coeff() * this->lra.get_lower_bound(p.var()).x;
|
ret.c() += p.coeff() * this->lra.get_lower_bound(p.var()).x;
|
||||||
} else {
|
} else {
|
||||||
|
@ -446,20 +446,6 @@ namespace lp {
|
||||||
subs_front_in_indexed_vector(q);
|
subs_front_in_indexed_vector(q);
|
||||||
}
|
}
|
||||||
|
|
||||||
void debug_remove_fresh_vars(term_o& t) {
|
|
||||||
std::queue<unsigned> q;
|
|
||||||
for (const auto& p: t) {
|
|
||||||
if (is_fresh_var(p.j())) {
|
|
||||||
q.push(p.j());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
while (!q.empty()) {
|
|
||||||
unsigned j = pop_front(q);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
lia_move tighten_with_S() {
|
lia_move tighten_with_S() {
|
||||||
int change = 0;
|
int change = 0;
|
||||||
for (unsigned j = 0; j < lra.column_count(); j++) {
|
for (unsigned j = 0; j < lra.column_count(); j++) {
|
||||||
|
@ -1001,7 +987,7 @@ public:
|
||||||
return j >= lra.column_count();
|
return j >= lra.column_count();
|
||||||
}
|
}
|
||||||
bool can_substitute(unsigned k) {
|
bool can_substitute(unsigned k) {
|
||||||
return k < m_k2s.size() && m_k2s[k] != -1;
|
return k < m_k2s.size() && m_k2s[k] != UINT_MAX;
|
||||||
}
|
}
|
||||||
u_dependency * eq_deps(const lar_term& t) {
|
u_dependency * eq_deps(const lar_term& t) {
|
||||||
NOT_IMPLEMENTED_YET();
|
NOT_IMPLEMENTED_YET();
|
||||||
|
|
Loading…
Reference in a new issue