Skip to content

Commit

Permalink
misc clean ver. 2 for failing code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Ericsson authored and Johan Ericsson committed Aug 27, 2024
1 parent f408fe3 commit 797d3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki/transformations/loop_blocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def iteration_index(iter_num: Variable, loop_range: LoopRange) -> Expression:
"""
if loop_range.step is None:
return Sum((iter_num, loop_range.start))
else:
return Sum(

return Sum(
(Product((Sum((iter_num, IntLiteral(-1))), loop_range.step)), loop_range.start))


Expand Down

0 comments on commit 797d3e7

Please sign in to comment.