Skip to content

Commit 5b6efd3

Browse files
authored
Merge pull request #733 from SciML/1.6_to_1.9
Test on 1.9 instead of 1.6
2 parents fc13104 + 7eb83f0 commit 5b6efd3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- Core
1616
version:
1717
- '1'
18-
- '1.6'
18+
- '1.9'
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: julia-actions/setup-julia@v1

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Requires = "1.0"
4343
SymbolicUtils = "1.0.3"
4444
Symbolics = "5.0.3"
4545
Unitful = "1.12.4"
46-
julia = "1.6"
46+
julia = "1.9"
4747

4848
[extras]
4949
DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"

test/miscellaneous_tests/nonlinear_solve.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let
1616
steady_state_network_1 = @reaction_network begin
1717
(k1, k2), ∅ X1
1818
(k3, k4), ∅ 3X2
19-
(k5, k6), ∅ X3 + X4
19+
(k5, k6*X1), ∅ X3
2020
end
2121

2222
# Creates NonlinearProblem.
@@ -31,10 +31,10 @@ let
3131
# Tests solutions are correct.
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)
34-
@test isapprox(sol1[3] * sol1[4], p[5] / p[6]; atol=1e-10)
34+
@test isapprox(sol1[3], (p[5] * p[2]) / (p[6] * p[1]); atol=1e-10)
3535
@test isapprox(sol2[1], p[1] / p[2]; atol=1e-10)
3636
@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)
37+
@test isapprox(sol2[3], (p[5] * p[2]) / (p[6] * p[1]); atol=1e-10)
3838
end
3939

4040
# Creates a system with multiple steady states.

0 commit comments

Comments
 (0)