File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
- Core
16
16
version :
17
17
- ' 1'
18
- - ' 1.6 '
18
+ - ' 1.9 '
19
19
steps :
20
20
- uses : actions/checkout@v4
21
21
- uses : julia-actions/setup-julia@v1
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Requires = "1.0"
43
43
SymbolicUtils = " 1.0.3"
44
44
Symbolics = " 5.0.3"
45
45
Unitful = " 1.12.4"
46
- julia = " 1.6 "
46
+ julia = " 1.9 "
47
47
48
48
[extras ]
49
49
DomainSets = " 5b8099bc-c8ec-5219-889f-1d9e522a28bf"
Original file line number Diff line number Diff line change 16
16
steady_state_network_1 = @reaction_network begin
17
17
(k1, k2), ∅ ↔ X1
18
18
(k3, k4), ∅ ↔ 3 X2
19
- (k5, k6), ∅ ↔ X3 + X4
19
+ (k5, k6* X1 ), ∅ ↔ X3
20
20
end
21
21
22
22
# Creates NonlinearProblem.
31
31
# Tests solutions are correct.
32
32
@test isapprox (sol1[1 ], p[1 ] / p[2 ]; atol= 1e-10 )
33
33
@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 )
35
35
@test isapprox (sol2[1 ], p[1 ] / p[2 ]; atol= 1e-10 )
36
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 )
37
+ @test isapprox (sol2[3 ], (p[ 5 ] * p[ 2 ]) / ( p[6 ] * p[ 1 ]) ; atol= 1e-10 )
38
38
end
39
39
40
40
# Creates a system with multiple steady states.
You can’t perform that action at this time.
0 commit comments