We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9cf806 commit a715847Copy full SHA for a715847
src/cepstral.jl
@@ -13,7 +13,6 @@ end
13
14
function cepscoef(method::ARCepstral, tseries::AbstractVector, n::Integer)
15
α = fit_arima(tseries, method.p)
16
- method.p == length(α) || ArgumentError("Length of coefficients must be equal to p") |> throw
17
c = similar(α, n)
18
for n_ ∈ 1:n
19
if n_==1
@@ -83,7 +82,6 @@ function ψfunc(
83
82
q::T,
84
k::T
85
) where {S<:AbstractFloat, T<:Integer}
86
- p+q == length(coefs) || ArgumentError("Length of coefficients must be equal to p + q") |> throw
87
a = σ²/2π
88
numerator_ = 0.
89
denominator_ = 0.
0 commit comments