We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91f0645 + 555283a commit 46bc6c3Copy full SHA for 46bc6c3
src/cepstral.jl
@@ -12,7 +12,6 @@ struct ARMACepstral{S<:AbstractFloat, T<:Integer} <: CepstralCoeffModel
12
end
13
14
function cepscoef(method::ARCepstral, tseries::AbstractVector, n::Integer)
15
- n>0 || ArgumentError("n must be positive") |> throw
16
α = fit_arima(tseries, method.p)
17
method.p == length(α) || ArgumentError("Length of coefficients must be equal to p") |> throw
18
c = similar(α, n)
0 commit comments