projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python/demos/demo_yin_compare.py: fix indentation
[aubio.git]
/
python
/
demos
/
demo_yin_compare.py
diff --git
a/python/demos/demo_yin_compare.py
b/python/demos/demo_yin_compare.py
index
92dc015
..
6842368
100755
(executable)
--- 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):