Skip to content

Commit 7870f25

Browse files
Fix depwarn
1 parent e89746f commit 7870f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MATLABDiffEq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function DiffEqBase.__solve(
5050
sys = modelingtoolkitize(prob)
5151

5252
matstr = ModelingToolkit.build_function(map(x->x.rhs,equations(sys)),states(sys),
53-
parameters(sys),independent_variable(sys),
53+
parameters(sys),independent_variables(sys)[1],
5454
target = ModelingToolkit.MATLABTarget())
5555

5656
# Send the variables

0 commit comments

Comments
 (0)