From 4d41ddcb1cd067a7add69f169603dc3787daa316 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Fri, 15 Dec 2023 07:21:28 +0100 Subject: [PATCH] typo --- lib/ControlSystemsBase/test/test_statespace.jl | 2 +- lib/ControlSystemsBase/test/test_transferfunction.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ControlSystemsBase/test/test_statespace.jl b/lib/ControlSystemsBase/test/test_statespace.jl index 38b12b065..c4600a43a 100644 --- a/lib/ControlSystemsBase/test/test_statespace.jl +++ b/lib/ControlSystemsBase/test/test_statespace.jl @@ -98,7 +98,7 @@ @test C_111 .* C_222 == ss([-5 0 2 0; 0 -5 0 2; 0 0 -5 -3; 0 0 2 -9], [0 0; 0 0; 1 0; 0 2], [3 0 0 0; 0 3 0 0], 0) @test Ref(ss(1)) .* [C_111, C_111] == [C_111, C_111] - if version >= v"1.10.0-rc2" + if VERSION >= v"1.10.0-rc1" @inferred C_111 * C_221 else @test_broken @inferred C_111 * C_221 diff --git a/lib/ControlSystemsBase/test/test_transferfunction.jl b/lib/ControlSystemsBase/test/test_transferfunction.jl index 7bc2f80c9..eee3bdec8 100644 --- a/lib/ControlSystemsBase/test/test_transferfunction.jl +++ b/lib/ControlSystemsBase/test/test_transferfunction.jl @@ -103,7 +103,7 @@ tf(vecarray(1, 2, [0], [0]), vecarray(1, 2, [1], [1]), 0.005) @test minreal(C_111.*C_222 - C_222.*C_111, 1e-3) == tf(ss(0*I(2))) # scalar times MIMO @test C_111 .* C_222 == (C_111 .* I(2)) * C_222 -if version >= v"1.10.0-rc2" +if VERSION >= v"1.10.0-rc1" @inferred C_111 .* I(2) else @test_broken @inferred C_111 .* I(2)