Skip to content

Commit fb0b828

Browse files
committed
changed: remove useless minreal call in DelayLtiSystem method
1 parent 14986d1 commit fb0b828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/linmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Discretize with zero-order hold when `sys` is a continuous system with delays.
221221
The delays must be multiples of the sample time `Ts`.
222222
"""
223223
function LinModel(sys::DelayLtiSystem, Ts::Real; kwargs...)
224-
sys_dis = minreal(c2d(sys, Ts, :zoh)) # c2d only supports :zoh for DelayLtiSystem
224+
sys_dis = c2d(sys, Ts, :zoh) # c2d only supports :zoh for DelayLtiSystem
225225
return LinModel(sys_dis, Ts; kwargs...)
226226
end
227227

0 commit comments

Comments
 (0)