Skip to content

Commit 7019d55

Browse files
Update forwarddiffsensitivity_sparsity_components.jl to not have jac_prototype
1 parent 15477e6 commit 7019d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/forwarddiffsensitivity_sparsity_components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717

1818
p_true = ComponentArray(k = 0.42)
1919
jac_proto = Tridiagonal(similar(u0, nknots - 1), similar(u0), similar(u0, nknots - 1))
20-
prob = ODEProblem(ODEFunction(f, jac_prototype = jac_proto), u0, (0.0, 1.0), p_true)
20+
prob = ODEProblem(ODEFunction(f #=, jac_prototype = jac_proto =#), u0, (0.0, 1.0), p_true)
2121
@time sol_true = solve(prob, Rodas4P(), saveat = 0.1)
2222

2323
function loss(p)

0 commit comments

Comments
 (0)