Skip to content

Commit c642291

Browse files
Merge pull request #111 from SciML/ChrisRackauckas-patch-1
Allow Catalyst v13
2 parents be52a5d + cc20441 commit c642291

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/SDEProblemLibrary/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RuntimeGeneratedFunctions = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47"
1010

1111
[compat]
1212
Aqua = "0.5"
13-
Catalyst = "11, 12"
13+
Catalyst = "13"
1414
DiffEqBase = "6"
1515
RuntimeGeneratedFunctions = "0.5"
1616
julia = "1.6"

lib/SDEProblemLibrary/src/SDEProblemLibrary.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ prob_sde_bruss = SDEProblem(bruss_f, bruss_g, [3.0, 2.0], (0.0, 100.0), p,
491491
noise_rate_prototype = zeros(2, 4))
492492

493493
network = @reaction_network begin
494+
@parameters p1=0.01 p2=3.0 p3=3.0 p4=4.5 p5=2.0 p6=15.0 p7=20.0 p8=0.005 p9=0.01 p10=0.05
494495
p1, (X, Y, Z) --> 0
495496
hill(X, p2, 100.0, -4), 0 --> Y
496497
hill(Y, p3, 100.0, -4), 0 --> Z
@@ -501,13 +502,12 @@ network = @reaction_network begin
501502
R * p8, S --> SP
502503
p9, SP + SP --> SP2
503504
p10, SP2 --> 0
504-
end p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
505-
p = (0.01, 3.0, 3.0, 4.5, 2.0, 15.0, 20.0, 0.005, 0.01, 0.05)
505+
end
506506

507507
"""
508508
An oscillatory chemical reaction system
509509
"""
510510
prob_sde_oscilreact = SDEProblem(network, [200.0, 60.0, 120.0, 100.0, 50.0, 50.0, 50.0],
511-
(0.0, 4000.0), p, eval_module = @__MODULE__)
511+
(0.0, 4000.0), eval_module = @__MODULE__)
512512

513513
end # module

0 commit comments

Comments
 (0)