Skip to content

Commit

Permalink
Update rosenbrock_perform_step.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
gstein3m committed Apr 25, 2024
1 parent 5f8570b commit ee3f7df
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 @@ -2798,7 +2798,7 @@ end
h45 * k5[i] + h46 * k6[i] + h47 * k7[i] + h48 * k8[i]
if (integrator.alg isa Rodas5Pr)
k2[i] = 0.5*(uprev[i] + u[i] + 0.5 * (integrator.k[1][i] + 0.5 * (integrator.k[2][i] + 0.5 * integrator.k[3][i])))
du1[i] = ( 0.25*(itegrator.k[2][i] + integrator.k[3][i]) - uprev[i] + u[i]) / dt
du1[i] = ( 0.25*(integrator.k[2][i] + integrator.k[3][i]) - uprev[i] + u[i]) / dt
end
end
if integrator.opts.adaptive && (integrator.EEst < 1.0) && (integrator.alg isa Rodas5Pr)
Expand Down

0 comments on commit ee3f7df

Please sign in to comment.