Skip to content

Commit

Permalink
fix for discrete systems
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Oct 13, 2023
1 parent 9823b1a commit d25725b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uncertainty_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ See also [`ss2particles`](@ref) and `MonteCarloMeasurements.nominal`.
"""
function sys_from_particles(P, i)
A,B,C,D = ssdata(P)
ss(vecindex(A, i), vecindex(B, i), vecindex(C, i), vecindex(D, i))
ss(vecindex(A, i), vecindex(B, i), vecindex(C, i), vecindex(D, i), P.timeevol)
end

function sys_from_particles(P::DelayLtiSystem{T,S}, i) where {T, S<:AbstractParticles}
Expand Down

0 comments on commit d25725b

Please sign in to comment.