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 de4eb93 commit 46a107eCopy full SHA for 46a107e
mlir/lib/Analysis/Presburger/Utils.cpp
@@ -566,5 +566,5 @@ std::vector<Fraction> presburger::multiplyPolynomials(ArrayRef<Fraction> a,
566
}
567
568
bool presburger::isRangeZero(ArrayRef<Fraction> arr) {
569
- return llvm::all_of(arr, [&](Fraction f) { return f == 0; });
+ return llvm::all_of(arr, [&](const Fraction &f) { return f == 0; });
570
0 commit comments