Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Dec 15, 2023
1 parent e02bf36 commit 4d41ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ControlSystemsBase/test/test_statespace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ControlSystemsBase/test/test_transferfunction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d41ddc

Please sign in to comment.