Skip to content

Commit 229e691

Browse files
Merge branch 'dg/initprob' of github.com:SciML/SciMLSensitivity.jl into dg/initprob
2 parents 2ae712b + 4cf7bd5 commit 229e691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mtk.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ prob = ODEProblem(sys, u0, tspan, p, jac = true)
3434
sol = solve(prob, Tsit5())
3535
mtkparams = SciMLSensitivity.parameter_values(sol)
3636

37-
gt = rand(1495)
37+
gt = rand(length(sol.u))
3838
dmtk, = Zygote.gradient(mtkparams) do p
3939
new_sol = solve(prob, Tsit5(), p = p)
4040
Zygote.ChainRules.ChainRulesCore.ignore_derivatives() do

0 commit comments

Comments
 (0)