Skip to content

Commit 4a6ed4a

Browse files
committed
[mlir][python] fix affine test
1 parent 7ddd3d7 commit 4a6ed4a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/test/python/dialects/affine.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ def testAffineForOpErrors():
159159
)
160160

161161
try:
162-
two_indices = affine.AffineDelinearizeIndexOp(
163-
[T.index(), T.index()], c1, [c1, c1]
164-
)
162+
two_indices = affine.AffineDelinearizeIndexOp(c1, [c1, c1])
165163
affine.AffineForOp(
166164
two_indices,
167165
c2,

0 commit comments

Comments
 (0)