Skip to content

Commit 5c93a80

Browse files
jClugstorChrisRackauckas
authored andcommitted
fix initialization test
1 parent 402a380 commit 5c93a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integrators/initialization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ using Test
2626
prob_ddae = DDEProblem(
2727
DDEFunction{true}(sir_ddae!;
2828
mass_matrix = Diagonal([1.0, 1.0, 0.0])),
29-
u0,
29+
u0_good,
3030
sir_history,
3131
tspan,
3232
p;
3333
constant_lags = (p.τ,))
3434
alg = MethodOfSteps(Rosenbrock23())
3535
@test_nowarn init(prob_ddae, alg)
36-
prob.u0[1] = 2.0
36+
prob_ddae.u0[1] = 2.0
3737
@test_throws SciMLBase.CheckInitFailureError init(prob_ddae, alg)
3838
end

0 commit comments

Comments
 (0)