3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-23 22:33:40 +00:00

deal with compiler warnings, from MacOS CI build

This commit is contained in:
Nikolaj Bjorner 2021-03-08 17:14:09 -08:00
parent 7eceeff349
commit f29a596070
13 changed files with 19 additions and 25 deletions

View file

@ -158,13 +158,13 @@ public:
bool is_normalized() const {
lpvar min_var = -1;
mpq c;
for (const auto & p : *this) {
for (ival p : *this) {
if (p.column() < min_var) {
min_var = p.column();
}
}
lar_term r;
for (const auto & p : *this) {
for (ival p : *this) {
if (p.column() == min_var) {
return p.coeff().is_one();
}