Skip to content

Commit

Permalink
Merge pull request #1971 from Keno/kf/fieldtypo
Browse files Browse the repository at this point in the history
Fix use of local rather than integrator fields
  • Loading branch information
ChrisRackauckas authored Jul 30, 2023
2 parents b2fb7b1 + 09687fc commit b807375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ function DiffEqBase.__init(prob::Union{DiffEqBase.AbstractODEProblem,
copyat_or_push!(ks, 1, [ks_prototype])
end
else
saveiter = 0 # Starts at 0 so first save is at 1
saveiter_dense = 0
integrator.saveiter = 0 # Starts at 0 so first save is at 1
integrator.saveiter_dense = 0
end

initialize_callbacks!(integrator, initialize_save)
Expand Down

0 comments on commit b807375

Please sign in to comment.