Skip to content

Commit

Permalink
test: fix retcode test
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Oct 31, 2023
1 parent 0a942dd commit 18da0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/diffeq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18da0a0

Please sign in to comment.