From 18da0a0dad358695f3a96286a632bfa8d6e739d3 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 31 Oct 2023 20:08:41 +0530 Subject: [PATCH] test: fix retcode test --- test/diffeq.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/diffeq.jl b/test/diffeq.jl index 4902f9b..f4c59f3 100644 --- a/test/diffeq.jl +++ b/test/diffeq.jl @@ -15,7 +15,7 @@ p = LorenzParameterVector(10.0, 28.0, 8 / 3) tspan = (0.0, 10.0) prob = ODEProblem(f, u0, tspan, p) sol = solve(prob, Rosenbrock23()) -@test sol.retcode == :Success +@test sol.retcode == SciMLBase.ReturnCode.Success sol = solve(prob, Tsit5()) @test prob.u0 === sol.u[1] === u0 @test prob.p === p