From 1690f8959bc1a1e609da380bf4fa038c664fde15 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Thu, 2 Jan 2025 13:21:48 -0500 Subject: [PATCH] fix initialization test --- test/integrators/initialization.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integrators/initialization.jl b/test/integrators/initialization.jl index 3d94453..2badbbc 100644 --- a/test/integrators/initialization.jl +++ b/test/integrators/initialization.jl @@ -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