Skip to content

Commit 77e0f19

Browse files
committed
update comment
1 parent f128939 commit 77e0f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ function build_J_W(alg, u, uprev, p, t, dt, f::F, ::Type{uEltypeNoUnits},
719719
concrete_jac(alg) !== nothing && concrete_jac(alg)
720720
# The linear solver does not need a concrete Jacobian, but the user has
721721
# asked for one. This will happen when the Jacobian is used in the preconditioner
722-
# Thus setup JacVec and a concrete J, using sparsity when possible
722+
# or when jvp computation is expensive. Therefore, use concrete J, and sparsity when possible
723723
_f = islin ? (isode ? f.f : f.f1.f) : f
724724
J = if f.jac_prototype === nothing
725725
ArrayInterface.undefmatrix(u)

0 commit comments

Comments
 (0)