Skip to content

Commit

Permalink
Fix #47
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Aug 21, 2018
1 parent 51fdb7b commit e26c13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spectrum/linear_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def rc2poly(kr, r0=None):
from .levinson import levup
p = len(kr) #% p is the order of the prediction polynomial.
a = numpy.array([1, kr[0]]) #% a is a true polynomial.
e = numpy.zeros(5)
e = numpy.zeros(len(kr))

if r0 is None:
e0 = 0
Expand Down

0 comments on commit e26c13a

Please sign in to comment.