Skip to content

Commit f10bd8b

Browse files
test: sort roots in allroots test
1 parent 63cab4f commit f10bd8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/NonlinearSolveHomotopyContinuation/test/allroots.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ alg = HomotopyContinuationJL{true}(; threading = false)
1818

1919
@test sol isa EnsembleSolution
2020
@test sol.converged
21+
sort!(sol.u; by = x -> x.u)
2122
@test sol.u[1] isa NonlinearSolution
2223
@test SciMLBase.successful_retcode(sol.u[1])
2324
@test sol.u[1].u 2.0 atol = 1e-10

0 commit comments

Comments
 (0)