diff --git a/src/descriptor.jl b/src/descriptor.jl index 28346fb7..ebd4cd8d 100644 --- a/src/descriptor.jl +++ b/src/descriptor.jl @@ -30,10 +30,12 @@ For keyword arguments, see the docstring of `DescriptorSystems.ghinfnorm`, repro $(@doc(DescriptorSystems.ghinfnorm)) """ function hinfnorm2(sys::LTISystem; kwargs...) + sys, _ = balance_statespace(sys) DescriptorSystems.ghinfnorm(dss(ss(sys)); kwargs...) end function linfnorm2(sys::LTISystem; kwargs...) + sys, _ = balance_statespace(sys) DescriptorSystems.glinfnorm(dss(ss(sys)); kwargs...) end diff --git a/src/uncertainty_interface.jl b/src/uncertainty_interface.jl index e07133bd..41829679 100644 --- a/src/uncertainty_interface.jl +++ b/src/uncertainty_interface.jl @@ -766,4 +766,9 @@ Version that constructs from initial guess # end # end # BlockDiagonal(D) -# end \ No newline at end of file +# end + + +function ControlSystemsBase.downsample(t,y::AbstractArray{<: MonteCarloMeasurements.AbstractParticles},detail_th) + ControlSystemsBase.downsample(t, pmean.(y), pmean(detail_th)/10) +end \ No newline at end of file