From ccd03272897cd28af538c5f39453f9304c71a4e3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 24 Jul 2017 15:16:22 +0200 Subject: [PATCH] python/demos/demo_yin_compare.py: fix indentation --- python/demos/demo_yin_compare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/demos/demo_yin_compare.py b/python/demos/demo_yin_compare.py index 92dc015d..6842368a 100755 --- a/python/demos/demo_yin_compare.py +++ b/python/demos/demo_yin_compare.py @@ -25,8 +25,8 @@ def sqd_yin(samples): W = B//2 yin = np.zeros(W) for j in range(W): - for tau in range(1, W): - yin[tau] += (samples[j] - samples[j+tau])**2 + for tau in range(1, W): + yin[tau] += (samples[j] - samples[j+tau])**2 return yin def sqd_yinfast(samples): -- 2.11.0