Skip to content

Commit 426483c

Browse files
committed
don't use jacvec with concrete_jac
1 parent 45e7a23 commit 426483c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,7 @@ function build_J_W(alg, u, uprev, p, t, dt, f::F, ::Type{uEltypeNoUnits},
734734
else
735735
(u, p, t) -> _f(u, p, t)
736736
end
737-
jacvec = JacVec(__f, copy(u), p, t;
738-
autodiff = alg_autodiff(alg), tag = OrdinaryDiffEqTag())
739-
WOperator{IIP}(f.mass_matrix, dt, J, u, jacvec)
737+
WOperator{IIP}(f.mass_matrix, dt, J, u, nothing)
740738
end
741739
else
742740
J = if !IIP && DiffEqBase.has_jac(f)

0 commit comments

Comments
 (0)