Skip to content

Commit c005617

Browse files
committed
rm collect
1 parent 6412266 commit c005617

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ode_system.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,7 @@ function trajectory_ss(sys, inputs, outputs, sol; t = _max_100(sol.t), allow_inp
534534
output_names = reduce(vcat, ap.input.u for ap in vcat(outputs))
535535

536536
# Use LinearizationOpPoint to let MTK extract operating points from the solution
537-
tc = collect(t)
538-
op = ModelingToolkit.LinearizationOpPoint(sol, tc)
537+
op = ModelingToolkit.LinearizationOpPoint(sol, t)
539538
lins, ssys, resolved_ops = linearize(sys, inputs, outputs; op, allow_input_derivatives, kwargs...)
540539

541540
named_linsystems = map(lins) do l

0 commit comments

Comments
 (0)