We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2051b06 commit 637f5cbCopy full SHA for 637f5cb
lib/ControlSystemsBase/src/matrix_comps.jl
@@ -592,7 +592,7 @@ function balreal(sys::ST) where ST <: AbstractStateSpace
592
U,Σ,V = SV
593
594
# Determine the order of a minimal realization to √ϵ tolerance
595
- rmin = count(Σ .> sqrt(eps())*Σ[1])
+ rmin = count(Σ .> sqrt(eps(eltype(Σ)))*Σ[1])
596
i1 = 1:rmin
597
Σ = Σ[i1]
598
0 commit comments