We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d805aa8 commit a5f4e1eCopy full SHA for a5f4e1e
src/systems/optimization/modelingtoolkitize.jl
@@ -11,10 +11,10 @@ function modelingtoolkitize(prob::DiffEqBase.OptimizationProblem; kwargs...)
11
p = prob.p
12
end
13
14
- vars = ArrayInterfaceCore.restructure(prob.u0,
+ vars = ArrayInterface.restructure(prob.u0,
15
[variable(:x, i) for i in eachindex(prob.u0)])
16
params = p isa DiffEqBase.NullParameters ? [] :
17
- ArrayInterfaceCore.restructure(p, [variable(:α, i) for i in eachindex(p)])
+ ArrayInterface.restructure(p, [variable(:α, i) for i in eachindex(p)])
18
19
eqs = prob.f(vars, params)
20
0 commit comments