diff --git a/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp b/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp index fb453af068e..4af2c2d97e6 100644 --- a/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp +++ b/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp @@ -152,7 +152,7 @@ struct ForOpEnzymeOpsRemover } auto numIters = getConstantNumberOfIterations(forOp); - Value inductionVariable; // [0, N[ counter + Value inductionVariable; // [0,..., N - 1] counter if (matchPattern(forOp.getLowerBound(), m_Zero()) && matchPattern(forOp.getStep(), m_One())) {