mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
fix the build
This commit is contained in:
parent
5f5f1d4fd1
commit
8904a50103
|
@ -219,7 +219,6 @@ namespace lp {
|
|||
void init() {
|
||||
m_e_matrix = static_matrix<mpq, mpq>(lra.row_count(), lra.column_count());
|
||||
m_report_branch = false;
|
||||
unsigned n_of_rows = lra.A_r().row_count();
|
||||
m_k2s.clear();
|
||||
m_k2s.resize(lra.column_count(), -1);
|
||||
m_conflict_index = -1;
|
||||
|
@ -230,7 +229,7 @@ namespace lp {
|
|||
for (unsigned i = 0; i < lra.terms().size(); i++) {
|
||||
const lar_term* t = lra.terms()[i];
|
||||
TRACE("dioph_eq", tout << "term "<< i <<":"; lra.print_term(*t, tout) << "\n";
|
||||
for(auto & p: *t) {
|
||||
for(const auto & p: *t) {
|
||||
lra.print_column_info(p.var(), tout);
|
||||
}
|
||||
);
|
||||
|
|
|
@ -47,7 +47,7 @@ template <typename T>
|
|||
using row_strip = vector<row_cell<T>>;
|
||||
template <typename K> mpq get_denominators_lcm(const K & row) {
|
||||
mpq r = mpq(1);
|
||||
for (auto & c : row)
|
||||
for (const auto & c : row)
|
||||
r = lcm(r, denominator(c.coeff()));
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue