Skip to content

Commit 3fb25d6

Browse files
committed
test fixes
1 parent 5948828 commit 3fb25d6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ExtendedStateSpace.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ function esswrap(f, sys, args...; kwargs...)
388388
end
389389
end
390390

391-
ControlSystems.balance_statespace(G::ExtendedStateSpace, args...; kwargs...) = esswrap(balance_statespace, G, args...; kwargs...)
391+
ControlSystems.balance_statespace(G::ExtendedStateSpace, args...; kwargs...) = esswrap(ControlSystems.balance_statespace, G, args...; kwargs...)
392392

393-
ControlSystems.similarity_transform(G::ExtendedStateSpace, args...; kwargs...) = esswrap(similarity_transform, G, args...; kwargs...)
393+
ControlSystems.similarity_transform(G::ExtendedStateSpace, args...; kwargs...) = esswrap(ControlSystems.similarity_transform, G, args...; kwargs...)
394394

395-
ControlSystems.balreal(G::ExtendedStateSpace, args...; kwargs...) = esswrap(balreal, G, args...; kwargs...)
395+
ControlSystems.balreal(G::ExtendedStateSpace, args...; kwargs...) = esswrap(ControlSystems.balreal, G, args...; kwargs...)
396396
modal_form(G::ExtendedStateSpace, args...; kwargs...) = esswrap(modal_form, G, args...; kwargs...)
397397
schur_form(G::ExtendedStateSpace, args...; kwargs...) = esswrap(schur_form, G, args...; kwargs...)
398398
hess_form(G::ExtendedStateSpace, args...; kwargs...) = esswrap(hess_form, G, args...; kwargs...)

test/test_high_precision_hinf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bb(P::AbstractStateSpace) = ss(bb.(ssdata_e(P)), P.timeevol)
1717
D21 = [0 1]
1818
D22 = [0;;]
1919
P = ss(A,B1,B2,C1,C2,D11,D12,D21,D22)
20-
K, γ = hinfsynthesize(P, γrel=1.05, ftype=BigFloat)[1:2] # gamma is way off (too low), but the actual realized gamma by the controller is quite close
20+
K, γ = hinfsynthesize(P, γrel=1.05, ftype=BigFloat, check=false)[1:2] # gamma is way off (too low), but the actual realized gamma by the controller is quite close
2121
@test_broken hinfnorm2(lft(P, K)) 0.806 atol=1e-2
2222
@test_broken γ 0.806 atol=1e-2 # Not numerically robust enough to pass this test despite highprec
2323

0 commit comments

Comments
 (0)