Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
  • Loading branch information
DanielDoehring and ranocha authored Jun 14, 2024
1 parent df2245e commit fc0c064
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/time_integration/methods_2N.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ function solve(ode::ODEProblem, alg::T;
integrator = init(ode, alg, dt = dt, callback = callback; kwargs...)

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

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

integrator.finalstep = false
Expand Down
4 changes: 2 additions & 2 deletions src/time_integration/methods_3Sstar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ function solve(ode::ODEProblem, alg::T;
integrator = init(ode, alg, dt = dt, callback = callback; kwargs...)

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

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

integrator.finalstep = false
Expand Down

0 comments on commit fc0c064

Please sign in to comment.