Skip to content

Commit 9f6c1af

Browse files
committed
update remaining tests for SteadyStateDiffEq v2
1 parent 820efb0 commit 9f6c1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/miscellaneous_tests/nonlinear_solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let
5555

5656
# Solves it using standard algorithm and simulation based algorithm.
5757
sol1 = solve(nl_prob; abstol=1e-12, reltol=1e-12).u
58-
sol2 = solve(nl_prob, DynamicSS(Rosenbrock23(); abstol=1e-12, reltol=1e-12); abstol=1e-12, reltol=1e-12).u
58+
sol2 = solve(nl_prob, DynamicSS(Rosenbrock23()); abstol=1e-12, reltol=1e-12).u
5959

6060
# Computes NonlinearFunction (manually and automatically).
6161
nfunc = NonlinearFunction(convert(NonlinearSystem, steady_state_network_2))
@@ -91,7 +91,7 @@ let
9191

9292
# Solves it using standard algorithm and simulation based algorithm.
9393
sol1 = solve(nl_prob_1; abstol=1e-12, reltol=1e-12)
94-
sol2 = solve(nl_prob_2, DynamicSS(Rosenbrock23(); abstol=1e-12, reltol=1e-12); abstol=1e-12, reltol=1e-12)
94+
sol2 = solve(nl_prob_2, DynamicSS(Rosenbrock23()); abstol=1e-12, reltol=1e-12)
9595

9696
# Checks output using NonlinearFunction.
9797
nfunc = NonlinearFunction(convert(NonlinearSystem, steady_state_network_3))

0 commit comments

Comments
 (0)