Skip to content

Commit

Permalink
fix initialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Jan 2, 2025
1 parent 4e6869b commit 1690f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integrators/initialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ using Test
prob_ddae = DDEProblem(
DDEFunction{true}(sir_ddae!;
mass_matrix = Diagonal([1.0, 1.0, 0.0])),
u0,
u0_good,
sir_history,
tspan,
p;
constant_lags = (p.τ,))
alg = MethodOfSteps(Rosenbrock23())
@test_nowarn init(prob_ddae, alg)
prob.u0[1] = 2.0
prob_ddae.u0[1] = 2.0
@test_throws SciMLBase.CheckInitFailureError init(prob_ddae, alg)
end

0 comments on commit 1690f89

Please sign in to comment.