We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49e4f0 commit b7dc33eCopy full SHA for b7dc33e
mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
@@ -168,7 +168,7 @@ QuasiPolynomial QuasiPolynomial::collectTerms() {
168
Fraction QuasiPolynomial::getConstantTerm() {
169
Fraction constTerm = 0;
170
for (unsigned i = 0, e = coefficients.size(); i < e; ++i)
171
- if (affine[i].size() == 0)
+ if (affine[i].empty())
172
constTerm += coefficients[i];
173
return constTerm;
174
}
0 commit comments