Skip to content

Commit

Permalink
Update rosenbrock_perform_step.jl
Browse files Browse the repository at this point in the history
Bug in out-of-place version
  • Loading branch information
gstein3m authored Feb 4, 2024
1 parent 511de3e commit e1f9912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perform_step/rosenbrock_perform_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ end
integrator.k[3] = h2_21 * k1 + h2_22 * k2 + h2_23 * k3 + h2_24 * k4 + h2_25 * k5
if integrator.opts.adaptive
calculate_interpoldiff!(k1, k2, uprev, du, u, integrator.k[1], integrator.k[2], integrator.k[3])
atm = calculate_residuals!(k2, uprev, k1, integrator.opts.abstol,
atmp = calculate_residuals(k2, uprev, k1, integrator.opts.abstol,

Check warning on line 1037 in src/perform_step/rosenbrock_perform_step.jl

View check run for this annotation

Codecov / codecov/patch

src/perform_step/rosenbrock_perform_step.jl#L1037

Added line #L1037 was not covered by tests
integrator.opts.reltol, integrator.opts.internalnorm, t)
EEst = max(EEst,integrator.opts.internalnorm(atmp, t)) #-- role of t unclear
end
Expand Down

0 comments on commit e1f9912

Please sign in to comment.