Skip to content

Commit

Permalink
make sure to keep user default
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 22, 2021
1 parent f962553 commit c9594bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
id = StochasticDiffEq.LinearInterpolationData(sde_integrator.sol.u, sde_integrator.sol.t)

save_end_user = save_end
save_end = save_everystep || isempty(saveat) || typeof(saveat) <: Number ? true : prob.tspan[2] in saveat
save_end = save_end === nothing ? save_everystep || isempty(saveat) || saveat isa Number || prob.tspan[2] in saveat : save_end

opts = StochasticDiffEq.SDEOptions(maxiters, save_everystep,
adaptive, abstol_internal,
Expand Down

0 comments on commit c9594bc

Please sign in to comment.