From d2aef69d0146d054c14345f90f15da61ac5ae464 Mon Sep 17 00:00:00 2001 From: Nick Hilton Date: Sat, 19 May 2018 13:14:15 -0700 Subject: [PATCH] fixing issue #2 --- rank_photos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rank_photos.py b/rank_photos.py index fb4d8dd..03fe145 100755 --- a/rank_photos.py +++ b/rank_photos.py @@ -116,7 +116,7 @@ class Photo: MN = max([M,N]) step = int(MN / 800) - if step == 0: m_step = 1 + if step == 0: step = 1 data = data[ 0:M:step, 0:N:step, :]