Skip to content

Commit 9f0210f

Browse files
committed
fix ci error
1 parent 6bb1b21 commit 9f0210f

File tree

1 file changed

+3
-1
lines changed
  • python/tvm/script/ir_builder/tir

1 file changed

+3
-1
lines changed

python/tvm/script/ir_builder/tir/ir.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,9 @@ def buffer_store(
13001300
for index in indices:
13011301
if isinstance(index, slice):
13021302
step = 1 if index.step is None else index.step
1303-
lanes = Analyzer().simplify((index.stop - index.start + step - 1) // step)
1303+
lanes = Analyzer().simplify( # pylint: disable=redefined-outer-name
1304+
(index.stop - index.start + step - 1) // step
1305+
)
13041306
if lanes == 1:
13051307
expr_indices.append(index.start)
13061308
else:

0 commit comments

Comments
 (0)