Skip to content

Commit

Permalink
Update MATLABDiffEq.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jun 17, 2020
1 parent 41e09a2 commit 15fbb08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MATLABDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function DiffEqBase.__solve(
prob::DiffEqBase.AbstractODEProblem{uType,tupType,isinplace},
alg::AlgType,timeseries=[],ts=[],ks=[];
saveat=eltype(tupType)[],timeseries_errors=true,reltol = 1e-3, abstol = 1e-6,
callback = nothing,
kwargs...) where {uType,tupType,isinplace,AlgType<:MATLABAlgorithm}

tType = eltype(tupType)
Expand All @@ -43,6 +44,8 @@ function DiffEqBase.__solve(
else
u0 = prob.u0
end

callback !== nothing && error("Callbacks are not supported in MATLABDiffEq.jl")

sys = modelingtoolkitize(prob)

Expand Down

0 comments on commit 15fbb08

Please sign in to comment.