From 7614d524d9b67d173700b06d92622eda76c9737b Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Mon, 9 Dec 2024 10:31:01 +0100 Subject: [PATCH] fix deprecation --- lib/ControlSystemsBase/test/test_dsp.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ControlSystemsBase/test/test_dsp.jl b/lib/ControlSystemsBase/test/test_dsp.jl index 4bbf9e556..582cd1a72 100644 --- a/lib/ControlSystemsBase/test/test_dsp.jl +++ b/lib/ControlSystemsBase/test/test_dsp.jl @@ -9,7 +9,7 @@ Gds = DSP.SecondOrderSections(Gd) u = randn(100) - uf = DSP.filt(Gds, u, zeros(2,2)) + uf = DSP.filt(DSP.DF2TFilter(Gds, zeros(2,2)), u) uls = lsim(Gd, u').y' @test uf[1:end-1] ≈ uls[2:end]