From: Paul Brossier Date: Mon, 24 Jul 2017 13:16:22 +0000 (+0200) Subject: python/demos/demo_yin_compare.py: fix indentation X-Git-Tag: 0.4.6~50 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=ccd03272897cd28af538c5f39453f9304c71a4e3;p=aubio.git python/demos/demo_yin_compare.py: fix indentation --- 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):