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.
1 parent 5ac5bb8 commit f2dfed3Copy full SHA for f2dfed3
src/solve.jl
@@ -513,7 +513,7 @@ 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) &&
+ if !isempty(integrator.sol.prob.constant_lags) && 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
0 commit comments