We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de06563 + c5e9347 commit 5ac5bb8Copy full SHA for 5ac5bb8
src/solve.jl
@@ -513,6 +513,10 @@ function DiffEqBase.solve!(integrator::SDDEIntegrator)
513
if DiffEqBase.check_error!(integrator) != ReturnCode.Success
514
return integrator.sol
515
end
516
+ if integrator.dt > minimum(integrator.sol.prob.constant_lags) &&
517
+ !(integrator.alg <: StochasticDiffEq.EM)
518
+ error("dt > minimum(constant_lags). This is not allowed by the integrator. Please dt `dtmax` less than the minimum lag or use `EM`.")
519
+ end
520
StochasticDiffEq.perform_step!(integrator, integrator.cache)
521
loopfooter!(integrator)
522
if isempty(integrator.opts.tstops)
0 commit comments