Skip to content

Commit

Permalink
solve! instead of solve_steps!
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Jun 14, 2024
1 parent c090422 commit db3a1bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ function solve(ode::ODEProblem, alg::PairedExplicitRK2;
integrator = init(ode, alg, dt = dt, callback = callback; kwargs...)

# Start actual solve
solve_steps!(integrator)
solve!(integrator)
end

function solve_steps!(integrator::PairedExplicitRK2Integrator)
function solve!(integrator::PairedExplicitRK2Integrator)
@unpack prob = integrator.sol

integrator.finalstep = false
Expand Down

0 comments on commit db3a1bc

Please sign in to comment.