3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

deal with compiler warnings

This commit is contained in:
Nikolaj Bjorner 2021-03-08 20:39:19 -08:00
parent 88fbf6510f
commit 857557ad93
8 changed files with 29 additions and 29 deletions

View file

@ -204,7 +204,7 @@ struct solver::imp {
// variable representing the term.
svector<polynomial::var> vars;
rational den(1);
for (const auto& kv : t) {
for (lp::lar_term::ival kv : t) {
vars.push_back(lp2nl(kv.column().index()));
den = lcm(den, denominator(kv.coeff()));
}