Skip to content

Commit da81373

Browse files
committed
fix generic_rosenbrock
1 parent f327127 commit da81373

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/OrdinaryDiffEqRosenbrock/src/generic_rosenbrock.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ function gen_constant_perform_step(tabmask::RosenbrockTableau{Bool,Bool},cachena
358358

359359
# Time derivative
360360
tf.u = uprev
361-
dT = ForwardDiff.derivative(tf, t)
361+
dT = calc_tderivative(integrator, cache)
362362

363-
W = calc_W(integrator, cache, dtgamma, repeat_step, true)
363+
W = calc_W(integrator, cache, dtgamma, repeat_step)
364364
linsolve_tmp = integrator.fsalfirst + dtd1*dT #calc_rosenbrock_differentiation!
365365

366366
$(iterexprs...)
@@ -476,7 +476,7 @@ function gen_perform_step(tabmask::RosenbrockTableau{Bool,Bool},cachename::Symbo
476476
calculate_residuals!(weight, fill!(weight, one(eltype(u))), uprev, uprev,
477477
integrator.opts.abstol, integrator.opts.reltol, integrator.opts.internalnorm, t)
478478

479-
calc_rosenbrock_differentiation!(integrator, cache, dtd1, dtgamma, repeat_step, true)
479+
calc_rosenbrock_differentiation!(integrator, cache, dtd1, dtgamma, repeat_step)
480480

481481
linsolve = cache.linsolve
482482

0 commit comments

Comments
 (0)