Skip to content

Commit 6a7c62b

Browse files
committed
1 parent f9c1f8a commit 6a7c62b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lingvodoc/views/v2/phonology.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1740,17 +1740,16 @@ def get_pitch(self, begin=0, end=None):
17401740
'ac': numpy.zeros(nsampFFT, dtype=float),
17411741
'imax': numpy.zeros(maxnCandidates, dtype=int),
17421742
'localMean': numpy.zeros(ny, dtype=float),
1743-
'r': numpy.zeros(brent_ixmax + 1)
1743+
'r': numpy.zeros(brent_ixmax * 2 + 1)
17441744
}
17451745

1746-
# single-thread
1747-
sound_into_pitch(arg)
1748-
17491746
args.append(arg)
1750-
17511747
firstFrame = lastFrame
17521748
lastFrame += numberOfFramesPerThread
17531749

1750+
# single-thread
1751+
sound_into_pitch(arg)
1752+
17541753
'''
17551754
# multi-thread
17561755
pool = multiprocessing.Pool(numberOfThreads)

0 commit comments

Comments
 (0)