Skip to content

Commit 15fbb08

Browse files
Update MATLABDiffEq.jl
1 parent 41e09a2 commit 15fbb08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/MATLABDiffEq.jl

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function DiffEqBase.__solve(
1818
prob::DiffEqBase.AbstractODEProblem{uType,tupType,isinplace},
1919
alg::AlgType,timeseries=[],ts=[],ks=[];
2020
saveat=eltype(tupType)[],timeseries_errors=true,reltol = 1e-3, abstol = 1e-6,
21+
callback = nothing,
2122
kwargs...) where {uType,tupType,isinplace,AlgType<:MATLABAlgorithm}
2223

2324
tType = eltype(tupType)
@@ -43,6 +44,8 @@ function DiffEqBase.__solve(
4344
else
4445
u0 = prob.u0
4546
end
47+
48+
callback !== nothing && error("Callbacks are not supported in MATLABDiffEq.jl")
4649

4750
sys = modelingtoolkitize(prob)
4851

0 commit comments

Comments
 (0)