Skip to content

Commit 046a929

Browse files
test: fix AD test
1 parent 67861f1 commit 046a929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extensions/ad.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ prob = ODEProblem(sys, u0, tspan, ps)
2525
sol = solve(prob, Tsit5())
2626

2727
mtkparams = parameter_values(prob)
28-
new_p = rand(10)
28+
new_p = rand(14)
2929
gs = gradient(new_p) do new_p
3030
new_params = SciMLStructures.replace(SciMLStructures.Tunable(), mtkparams, new_p)
3131
new_prob = remake(prob, p = new_params)

0 commit comments

Comments
 (0)