Skip to content

Commit

Permalink
solve! instead of solve_steps! (#1982)
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
DanielDoehring and ranocha authored Jun 14, 2024
1 parent 19b10f4 commit 8b3a613
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 8b3a613

Please sign in to comment.