ref: ccd03272897cd28af538c5f39453f9304c71a4e3
parent: 107037870a4ec56eeb2fdab92e153b96fd2ab084
author: Paul Brossier <piem@piem.org>
date: Mon Jul 24 11:16:22 EDT 2017
python/demos/demo_yin_compare.py: fix indentation
--- a/python/demos/demo_yin_compare.py
+++ b/python/demos/demo_yin_compare.py
@@ -25,8 +25,8 @@
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):