Skip to content

Commit 701cbb6

Browse files
committed
use hinfnorm2 in tests
1 parent 3fb25d6 commit 701cbb6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_reduction.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Wo = Wi = ss(Aw,Dw,Cw,Dw)
101101

102102
errors = map(1:3) do r
103103
Gr = frequency_weighted_reduction(G, Wo, Wi, r, residual=false)
104-
norm(Wo*(G-Gr)*Wi, Inf)
104+
hinfnorm2(Wo*(G-Gr)*Wi)[1]
105105
end
106106

107107
@test errors[1] <= 1.1 * 2.12
@@ -111,7 +111,7 @@ end
111111

112112
errors = map(1:3) do r
113113
Gr = frequency_weighted_reduction(G, Wo, Wi, r, residual=true)
114-
norm(Wo*(G-Gr)*Wi, Inf)
114+
hinfnorm2(Wo*(G-Gr)*Wi)[1]
115115
end
116116

117117
@test errors[1] <= 1.1 * 1.405

0 commit comments

Comments
 (0)