Skip to content

Commit 42291f3

Browse files
committed
Add test
1 parent 2a4558b commit 42291f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/downstream/prob_kwargs.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ prob = ODEProblem(lorenz, u0, tspan, alg = Tsit5())
1010
@test_nowarn sol = solve(prob, reltol = 1e-6)
1111
sol = solve(prob, reltol = 1e-6)
1212
@test sol.alg isa Tsit5
13+
14+
new_u0 = rand(3)
15+
sol = solve(prob, u0 = new_u0)
16+
@test sol.prob.u0 === new_u0

0 commit comments

Comments
 (0)