Skip to content

Commit

Permalink
test: sort roots in allroots test
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jan 27, 2025
1 parent d9b3378 commit f66af4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/NonlinearSolveHomotopyContinuation/test/allroots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ alg = HomotopyContinuationJL{true}(; threading = false)

@test sol isa EnsembleSolution
@test sol.converged
sort!(sol.u; by = x -> x.u)
@test sol.u[1] isa NonlinearSolution
@test SciMLBase.successful_retcode(sol.u[1])
@test sol.u[1].u 2.0 atol = 1e-10
Expand Down

0 comments on commit f66af4e

Please sign in to comment.