Skip to content

Commit

Permalink
Avoid warning due to signed comparison in example
Browse files Browse the repository at this point in the history
Fix #1993
  • Loading branch information
serge-sans-paille committed Jun 3, 2022
1 parent 86e2826 commit bb68efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythran/tests/scikit-image/_greyreconstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def reconstruction_loop(ranks, prev, next, strides, current_idx, image_stride):
while current_idx != -1:
if current_idx < image_stride:
current_rank = ranks[current_idx]
if current_rank == 0:
if not current_rank:
break
for i in range(nstrides):
neighbor_idx = current_idx + strides[i]
Expand Down

0 comments on commit bb68efc

Please sign in to comment.