Skip to content

Commit d5ec855

Browse files
committed
needs to be prob.f
1 parent da8d130 commit d5ec855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OrdinaryDiffEqDifferentiation/src/alg_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function prepare_user_sparsity(ad_alg, prob)
122122

123123
if !isnothing(jac_prototype)
124124
for idx in idxs
125-
jac_prototype[idx] = f.mass_matrix[idx]
125+
jac_prototype[idx] = prob.f.mass_matrix[idx]
126126
end
127127
end
128128
end

0 commit comments

Comments
 (0)