Skip to content

Commit

Permalink
Version 1.0 Minor code correction
Browse files Browse the repository at this point in the history
  • Loading branch information
asigalov61 authored Aug 30, 2024
1 parent 91a9011 commit c70424c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tegridy-tools/TPLOTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ def binary_matrix_to_images(matrix,

image_array = []

for i in range(0, min(1, matrix.shape[0]-max(step, overlap)), overlap):
for i in range(0, max(1, matrix.shape[0]-max(step, overlap)), overlap):

submatrix = matrix[i:i+step, :]

Expand Down

0 comments on commit c70424c

Please sign in to comment.