Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 9, 2017
1 parent 4e0844b commit 80afc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrators/integrator_utils.jl
Expand Up @@ -189,7 +189,7 @@ end
end

@inline function solution_endpoint_match_cur_integrator!(integrator)
if integrator.opts.save_end && integrator.sol.t[integrator.saveiter] != integrator.t
if integrator.opts.save_end && (integrator.saveiter == 0 || integrator.sol.t[integrator.saveiter] != integrator.t)
integrator.saveiter += 1
copyat_or_push!(integrator.sol.t,integrator.saveiter,integrator.t)
if integrator.opts.save_idxs == nothing
Expand Down

0 comments on commit 80afc6b

Please sign in to comment.