mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 19:19:53 +00:00
Formatting
This commit is contained in:
parent
fec889db78
commit
1e3dbe8eaf
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def generate_hashes(peaks, fan_value=DEFAULT_FAN_VALUE):
|
||||||
fingerprinted = set() # to avoid rehashing same pairs
|
fingerprinted = set() # to avoid rehashing same pairs
|
||||||
|
|
||||||
for i in range(len(peaks)):
|
for i in range(len(peaks)):
|
||||||
for j in range(1,fan_value):
|
for j in range(1, fan_value):
|
||||||
if (i + j) < len(peaks) and not (i, i + j) in fingerprinted:
|
if (i + j) < len(peaks) and not (i, i + j) in fingerprinted:
|
||||||
freq1 = peaks[i][IDX_FREQ_I]
|
freq1 = peaks[i][IDX_FREQ_I]
|
||||||
freq2 = peaks[i + j][IDX_FREQ_I]
|
freq2 = peaks[i + j][IDX_FREQ_I]
|
||||||
|
|
Loading…
Reference in a new issue