Skip to content

Commit f66af4e

Browse files
test: sort roots in allroots test
1 parent d9b3378 commit f66af4e

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)