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 e4bf989 commit 84c25dc
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 @@ -1469,7 +1469,7 @@ function calculate_interpoldiff(uprev, up2, up3, c_koeff, d_koeff, c2_koeff)
end
for tau in (tau1,tau2)
if (tau > 0.0) && (tau < 1.0)
y_tau = (1 - tau)*uprev[i] +
y_tau = (1 - tau)*uprev +
tau*(up3 + (1 - tau)*(c_koeff + tau*d_koeff))
dy_tau = ((a3*tau + a2)*tau + a1)*tau
if abs(dy_tau) > abs(u_diff)
Expand Down

0 comments on commit 84c25dc

Please sign in to comment.