History

python/demos/demo_yin_compare.py: fix indentation

Paul Brossier committed 9 years ago

Commit ccd03271 parent 10703781 file · +2 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/demos/demo_yin_compare.py+2−2
@@ -25,8 +25,8 @@ def sqd_yin(samples): · 24 unmodified lines
25 W = B//225 W = B//2
26 yin = np.zeros(W)26 yin = np.zeros(W)
27 for j in range(W):27 for j in range(W):
28 for tau in range(1, W):28 for tau in range(1, W):
29 yin[tau] += (samples[j] - samples[j+tau])**229 yin[tau] += (samples[j] - samples[j+tau])**2
30 return yin30 return yin
31 31
32def sqd_yinfast(samples):32def sqd_yinfast(samples):

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t