Skip to content

Commit e1b2048

Browse files
committed
more fixes
1 parent 43d5c1c commit e1b2048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SymbolicControlSystems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function ControlSystemsBase.tf(sys::NumOrDiv, h = nothing)
117117
tf(to_num.(numvec(G)[]), to_num.(denvec(G)[]), G.timeevol)
118118
end
119119

120-
function Base.convert(::Type{StateSpace{TE,T}}, G::TransferFunction; balance=false) where {TE,T<:Sym}
120+
function Base.convert(::Type{StateSpace{TE,T}}, G::TransferFunction; balance=false) where {TE,T<:Union{Sym, Num}}
121121

122122
if !isproper(G)
123123
throw(ImproperException())

0 commit comments

Comments
 (0)