Skip to content

Commit e08a2c3

Browse files
Update MATLABDiffEq.jl
1 parent 73c5a1a commit e08a2c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MATLABDiffEq.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ function solve{uType,tType,isinplace,AlgType<:MATLABAlgorithm,F}(
2626
if prob.tspan[end]-prob.tspan[1]<tType(0)
2727
error("final time must be greater than starting time. Aborting.")
2828
end
29-
29+
30+
f = prob.f
3031
u0 = prob.u0
3132

3233
tspan = sort(unique([prob.tspan[1];saveat;prob.tspan[2]]))

0 commit comments

Comments
 (0)