fixing issue #2

This commit is contained in:
Nick Hilton 2018-05-19 13:14:15 -07:00
parent db03fbcb1c
commit d2aef69d01
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Photo:
MN = max([M,N]) MN = max([M,N])
step = int(MN / 800) step = int(MN / 800)
if step == 0: m_step = 1 if step == 0: step = 1
data = data[ 0:M:step, 0:N:step, :] data = data[ 0:M:step, 0:N:step, :]