Skip to content

Commit b702701

Browse files
fix depwarns
1 parent 4b022b0 commit b702701

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MATLABDiffEq.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ function DiffEqBase.__solve(
4444
else
4545
u0 = prob.u0
4646
end
47-
47+
4848
callback !== nothing && error("Callbacks are not supported in MATLABDiffEq.jl")
4949

5050
sys = modelingtoolkitize(prob)
5151

52-
matstr = ModelingToolkit.build_function(sys.eqs,sys.states,
53-
sys.ps,sys.iv,
52+
matstr = ModelingToolkit.build_function(equations(sys),states(sys),
53+
parameters(sys),independent_variable(sys),
5454
target = ModelingToolkit.MATLABTarget())
5555

5656
# Send the variables

0 commit comments

Comments
 (0)