Skip to content

Commit

Permalink
fix sample time for dss to ss
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Feb 7, 2023
1 parent 8760974 commit 46f4dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/descriptor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function ControlSystemsBase.ss(G::DescriptorSystems.DescriptorStateSpace)
catch
G,_ = DescriptorSystems.dss2ss(G, simple_infeigs = false, fast=false)
end
G.Ts >= 0 ? ss(G.A, G.B, G.C, G.D) : ss(G.A, G.B, G.C, G.D, G.Ts)
G.Ts > 0 ? ss(G.A, G.B, G.C, G.D, G.Ts) : ss(G.A, G.B, G.C, G.D)
end

"""
Expand Down

0 comments on commit 46f4dcc

Please sign in to comment.