Skip to content

Commit 6a8a9a2

Browse files
committed
up
1 parent 1f969c5 commit 6a8a9a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/src/introduction_to_catalyst/introduction_to_catalyst.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ u₀map = [:m₁ => 0, :m₂ => 0, :m₃ => 0, :P₁ => 20, :P₂ => 0, :P₃ =>
191191
dprob = DiscreteProblem(repressilator, u₀map, tspan, pmap)
192192
193193
# now, we create a JumpProblem, and specify Gillespie's Direct Method as the solver:
194-
jprob = JumpProblem(repressilator, dprob, Direct(), save_positions=(false,false))
194+
jprob = JumpProblem(repressilator, dprob, Direct())
195195
196196
# now, let's solve and plot the jump process:
197-
sol = solve(jprob, SSAStepper(), saveat=10.)
197+
sol = solve(jprob, SSAStepper())
198198
plot(sol)
199199
plot(sol, plotdensity = 1000, fmt = :png) # hide
200200
```

docs/src/model_creation/examples/basic_CRN_library.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ oplt = plot(osol; title = "Reaction rate equation (ODE)", plotdensity = 1000, fm
120120
splt = plot(ssol; title = "Chemical Langevin equation (SDE)", plotdensity = 1000, fmt = :png) # hide
121121
jplt = plot(jsol; title = "Stochastic chemical kinetics (Jump)", plotdensity = 1000, fmt = :png) # hide
122122
plot(oplt, splt, jplt; lw = 2, size=(800,800), layout = (3,1), plotdensity = 1000, fmt = :png) # hide
123+
plot!(bottom_margin = 3Plots.Measures.mm) # hide
123124
```
124125

125126
## [SIR infection model](@id basic_CRN_library_sir)

0 commit comments

Comments
 (0)