aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Analysis/LinearTransform.cpp')
-rw-r--r--mlir/lib/Analysis/LinearTransform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/LinearTransform.cpp b/mlir/lib/Analysis/LinearTransform.cpp
index e8b82c1cad4d..c4dc0e746840 100644
--- a/mlir/lib/Analysis/LinearTransform.cpp
+++ b/mlir/lib/Analysis/LinearTransform.cpp
@@ -137,7 +137,7 @@ LinearTransform::preMultiplyColumn(ArrayRef<int64_t> colVec) const {
FlatAffineConstraints
LinearTransform::applyTo(const FlatAffineConstraints &fac) const {
- FlatAffineConstraints result(fac.getNumDimIds());
+ FlatAffineConstraints result(fac.getNumIds());
for (unsigned i = 0, e = fac.getNumEqualities(); i < e; ++i) {
ArrayRef<int64_t> eq = fac.getEquality(i);