From ece1315a33fd6c6c4eb573960d53daa657f73b77 Mon Sep 17 00:00:00 2001 From: rozetko Date: Wed, 25 Jul 2018 11:47:14 +0300 Subject: [PATCH] Fix typo in analytics utils --- analytics/utils/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analytics/utils/__init__.py b/analytics/utils/__init__.py index 8d763e0..72ca4cc 100644 --- a/analytics/utils/__init__.py +++ b/analytics/utils/__init__.py @@ -93,8 +93,8 @@ def findOneJump(data, x, size, height, err): def findAllJumps(data, size, height): possible_jump_list = [] - for i in range(len(data - size): + for i in range(len(data - size)): x = findOneJump(data, i, size, height, 0.9) if x > 0: possible_jump_list.append(x) - return possible_jump_list \ No newline at end of file + return possible_jump_list