Closed franckgaga closed 1 year ago
Hello,
This appears to work correctly here
julia> using ControlSystemsBase
[ Info: Precompiling ControlSystemsBase [aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e]
julia> mytf = [tf(1,[1,1]) tf(0); tf(0) tf(1,[1,1])]
TransferFunction{Continuous, ControlSystemsBase.SisoRational{Int64}}
Input 1 to output 1
1
-----
s + 1
Input 1 to output 2
0
-
1
Input 2 to output 1
0
-
1
Input 2 to output 2
1
-----
s + 1
Continuous-time transfer function model
julia> ss(mytf)
StateSpace{Continuous, Float64}
A =
-1.0 0.0
0.0 -1.0
B =
1.0 0.0
0.0 1.0
C =
1.0 0.0
0.0 1.0
D =
0.0 0.0
0.0 0.0
Continuous-time state-space model
are you sure you have not somehow overloaded any of the functions involved to changed their behavior?
Which version of Julia are you using?
PS. The word you're looking for is a diagonal operator ;) DS.
Actually, I can reproduce the error on julia v1.9, let me have a look
The problem was introduced by
The PR above works around the problem, but I'm not convinced the change to Polynomials is correct so I opened an issue there as well
Hi,
With the last version (both stable or dev version), calling
using ControlSystemsBase
and:results in this error:
It was working as intended in earlier version.
Thanks for all your work !