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.
2 parents 899cec0 + 10367f4 commit 6158674Copy full SHA for 6158674
src/MATLABDiffEq.jl
@@ -44,11 +44,11 @@ function DiffEqBase.__solve(
44
u0 = prob.u0
45
end
46
47
- sys = first(modelingtoolkitize(prob))
+ sys = modelingtoolkitize(prob)
48
49
matstr = ModelingToolkit.build_function(sys.eqs,sys.states,
50
- sys.ps,sys.iv,
51
- target = ModelingToolkit.MATLABTarget())
+ sys.ps,sys.iv,
+ target = ModelingToolkit.MATLABTarget())
52
53
# Send the variables
54
put_variable(get_default_msession(),:tspan,tspan)
0 commit comments