Skip to content

Commit 0cddf4b

Browse files
committed
collect array broadcast
1 parent 98d633a commit 0cddf4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ode_system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ function GainScheduledStateSpace(systems, vt; interpolator, x = zeros(systems[1]
680680
[Differential(t)(x[i]) ~ sum(A[i, k] * x[k] for k in 1:nx) +
681681
sum(B[i, j] * (input.u[j] - u0[j]) for j in 1:nu)
682682
for i in 1:nx];
683-
output.u .~ C * x .+ D * (input.u .- u0) .+ y0
683+
collect(output.u .~ C * x .+ D * (input.u .- u0) .+ y0)
684684
]
685685
compose(ODESystem(eqs, t, name = name), [input, output, scheduling_input])
686686
end

0 commit comments

Comments
 (0)