Skip to content

Commit 2270d2c

Browse files
committed
balance before norm computations
1 parent 0b18f7d commit 2270d2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/descriptor.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ For keyword arguments, see the docstring of `DescriptorSystems.ghinfnorm`, repro
3030
$(@doc(DescriptorSystems.ghinfnorm))
3131
"""
3232
function hinfnorm2(sys::LTISystem; kwargs...)
33+
sys, _ = balance_statespace(sys)
3334
DescriptorSystems.ghinfnorm(dss(ss(sys)); kwargs...)
3435
end
3536

3637
function linfnorm2(sys::LTISystem; kwargs...)
38+
sys, _ = balance_statespace(sys)
3739
DescriptorSystems.glinfnorm(dss(ss(sys)); kwargs...)
3840
end
3941

0 commit comments

Comments
 (0)