Skip to content

Commit 7c03afe

Browse files
committed
rm flag return
1 parent dbe0208 commit 7c03afe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/glover_mcfarlane.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ function glover_mcfarlane_2dof(G::AbstractStateSpace{Continuous}, Tref::Abstract
376376
D21 =*I(mr) zeros(mr,ls);zeros(ls,mr) sRs]
377377
D22 = [zeros(mr,ms); Ds]
378378
P = ss(A, B1, B2, C1, C2, D11, D12, D21, D22)
379-
_, Ks, γopt = hinfsynthesize(P, γrel = γ; kwargs...)
379+
Ks, γopt = hinfsynthesize(P, γrel = γ; kwargs...)
380380

381381
u1 = 1:ms
382382
K1 = Ks[:, u1]

test/test_hinfgrad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ P = hinfpartition(G, WS, WU, WT)
4646
flag = hinfassumptions(P)
4747

4848
# Synthesize the H-infinity optimal controller
49-
flag, C, γ = hinfsynthesize(P)
49+
C, γ = hinfsynthesize(P)
5050

5151
Pcl, S, CS, T = hinfsignals(P, G, C)
5252
isinteractive() && specificationplot([S, CS, T], [WS[1,1], 0.01, WT[1,1]], γ)

0 commit comments

Comments
 (0)