Skip to content

Commit b3d0d4a

Browse files
committed
build correct jac_config
1 parent 0f6931d commit b3d0d4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function alg_cache(alg::Rosenbrock23, u, rate_prototype, ::Type{uEltypeNoUnits},
146146
assumptions = LinearSolve.OperatorAssumptions(true))
147147

148148
grad_config = build_grad_config(alg, f, tf, du1, t)
149-
jac_config = build_jac_config(alg, f, uf, du1, uprev, u, tmp, du2, Val(false))
149+
jac_config = build_jac_config(alg, f, uf, du1, uprev, u, tmp, du2)
150150
algebraic_vars = f.mass_matrix === I ? nothing :
151151
[all(iszero, x) for x in eachcol(f.mass_matrix)]
152152

@@ -191,7 +191,7 @@ function alg_cache(alg::Rosenbrock32, u, rate_prototype, ::Type{uEltypeNoUnits},
191191
Pl = Pl, Pr = Pr,
192192
assumptions = LinearSolve.OperatorAssumptions(true))
193193
grad_config = build_grad_config(alg, f, tf, du1, t)
194-
jac_config = build_jac_config(alg, f, uf, du1, uprev, u, tmp, du2, Val(false))
194+
jac_config = build_jac_config(alg, f, uf, du1, uprev, u, tmp, du2)
195195
algebraic_vars = f.mass_matrix === I ? nothing :
196196
[all(iszero, x) for x in eachcol(f.mass_matrix)]
197197

0 commit comments

Comments
 (0)