From 555283a55e1b6bbcc3f180f576f88d61cdb62b34 Mon Sep 17 00:00:00 2001 From: Shayan Davoodi <52105833+shayandavoodii@users.noreply.github.com> Date: Wed, 13 Mar 2024 00:32:38 +0330 Subject: [PATCH] =?UTF-8?q?[cepstral.jl]=20A=20redundant=20check=20was=20r?= =?UTF-8?q?emoved=20=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cepstral.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cepstral.jl b/src/cepstral.jl index 2e60d36..8ddb66a 100644 --- a/src/cepstral.jl +++ b/src/cepstral.jl @@ -12,7 +12,6 @@ struct ARMACepstral{S<:AbstractFloat, T<:Integer} <: CepstralCoeffModel end function cepscoef(method::ARCepstral, tseries::AbstractVector, n::Integer) - n>0 || ArgumentError("n must be positive") |> throw α = fit_arima(tseries, method.p) method.p == length(α) || ArgumentError("Length of coefficients must be equal to p") |> throw c = similar(α, n)