We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd1cc7 commit 4cf7bd5Copy full SHA for 4cf7bd5
test/mtk.jl
@@ -34,7 +34,7 @@ prob = ODEProblem(sys, u0, tspan, p, jac = true)
34
sol = solve(prob, Tsit5())
35
mtkparams = SciMLSensitivity.parameter_values(sol)
36
37
-gt = rand(1495)
+gt = rand(length(sol.u))
38
dmtk, = Zygote.gradient(mtkparams) do p
39
new_sol = solve(prob, Tsit5(), p = p)
40
Zygote.ChainRules.ChainRulesCore.ignore_derivatives() do
0 commit comments