Skip to content

Commit 46bc6c3

Browse files
2 parents 91f0645 + 555283a commit 46bc6c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cepstral.jl

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ struct ARMACepstral{S<:AbstractFloat, T<:Integer} <: CepstralCoeffModel
1212
end
1313

1414
function cepscoef(method::ARCepstral, tseries::AbstractVector, n::Integer)
15-
n>0 || ArgumentError("n must be positive") |> throw
1615
α = fit_arima(tseries, method.p)
1716
method.p == length(α) || ArgumentError("Length of coefficients must be equal to p") |> throw
1817
c = similar(α, n)

0 commit comments

Comments
 (0)