Skip to content

Commit

Permalink
Merge 4781132 into e847866
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Jul 13, 2018
2 parents e847866 + 4781132 commit 6bc1a5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ function init(
save_noise = save_everystep && typeof(prob.f) <: Tuple ?
has_analytic(prob.f[1]) : has_analytic(prob.f),
save_idxs = nothing,
save_start = true,save_end = true,
dense = save_everystep,
save_start = save_everystep || isempty(saveat) || typeof(saveat) <: Number ? true : prob.tspan[1] in saveat,
save_end = save_everystep || isempty(saveat) || typeof(saveat) <: Number ? true : prob.tspan[2] in saveat,
dense = save_everystep && isempty(saveat),
calck = (!isempty(setdiff(saveat,tstops)) || dense),
adaptive=isadaptive(alg),gamma=9//10,
abstol=1e-2,reltol=1e-2,
Expand Down

0 comments on commit 6bc1a5e

Please sign in to comment.