Skip to content

Commit 2af6fa2

Browse files
committed
test fix
1 parent 2ac4a3c commit 2af6fa2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/miscellaneous_tests/nonlinear_solve.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ let
3232
@test isapprox(sol1[1], p[1] / p[2]; atol=1e-10)
3333
@test isapprox(sol1[2]^3 / factorial(3), p[3] / p[4]; atol=1e-10)
3434
@test isapprox(sol1[3] * sol1[4], p[5] / p[6]; atol=1e-10)
35-
@test isapprox(sol1, sol2; atol=1e-10)
35+
@test isapprox(sol2[1], p[1] / p[2]; atol=1e-10)
36+
@test isapprox(sol2[2]^3 / factorial(3), p[3] / p[4]; atol=1e-10)
37+
@test isapprox(sol2[3] * sol2[4], p[5] / p[6]; atol=1e-10)
3638
end
3739

3840
# Creates a system with multiple steady states.

0 commit comments

Comments
 (0)