Skip to content

Commit 5bc7993

Browse files
committed
fix flake8
Signed-off-by: sewon.jeon <[email protected]>
1 parent 15ec97a commit 5bc7993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/transforms/post/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def _make_window(
871871
) -> tuple[tuple[slice, ...] | None, tuple[torch.Tensor, ...]]:
872872
slices: list[slice] = []
873873
coord_shifts: list[torch.Tensor] = []
874-
for dim, (c, r, size) in enumerate(zip(center, radius, bounds)):
874+
for _dim, (c, r, size) in enumerate(zip(center, radius, bounds)):
875875
start = max(int(np.floor(c - r)), 0)
876876
stop = min(int(np.ceil(c + r)) + 1, size)
877877
if start >= stop:

0 commit comments

Comments
 (0)