Skip to content

Commit 38a5c3d

Browse files
test update
1 parent 750511d commit 38a5c3d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1818
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1919
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
2020
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
21+
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2122
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2223
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
2324
UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"

test/regular_jumps.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Nsims = 1000
4242
dc[3] = counts[2]
4343
end
4444
rj = RegularJump(regular_rate, regular_c, 3)
45-
jump_prob_tau = JumpProblem(prob_disc, Direct(), rj; rng = rng)
45+
jump_prob_tau = JumpProblem(prob_disc, PureLeaping(), rj; rng = rng)
4646

4747
# Solve with SimpleTauLeaping (dt=0.1)
4848
sol_simple = solve(EnsembleProblem(jump_prob_tau), SimpleTauLeaping(), EnsembleSerial(); trajectories=Nsims, dt=0.1)
@@ -100,7 +100,7 @@ end
100100
dc[4] = counts[3]
101101
end
102102
rj = RegularJump(regular_rate, regular_c, 3)
103-
jump_prob_tau = JumpProblem(prob_disc, Direct(), rj; rng = rng)
103+
jump_prob_tau = JumpProblem(prob_disc, PureLeaping(), rj; rng = rng)
104104

105105
# Solve with SimpleTauLeaping (dt=0.1)
106106
sol_simple = solve(EnsembleProblem(jump_prob_tau), SimpleTauLeaping(), EnsembleSerial(); trajectories=Nsims, dt=0.1)

0 commit comments

Comments
 (0)