File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ julia> Pkg.add("SimJulia")
4040* Version 0.4 is a complete rewrite: more julian and less pythonic.
4141* Only supports Julia v0.6 and above.
4242* Scheduling of events can be done with ` Base.Dates.Datetime ` and ` Base.Dates.Period ` :
43- ```
43+ ``` julia
4444using SimJulia
4545using Base. Dates
4646
@@ -58,7 +58,7 @@ run(sim, datetime+Month(3))
5858* The discrete event features are on par with version 0.3. (STABLE)
5959* Two ways of making ` Processes ` are provided:
6060 - using the existing concept of ` Tasks ` :
61- ```
61+ ``` julia
6262 function fibonnaci (sim:: Simulation )
6363 a = 0.0
6464 b = 1.0
@@ -90,7 +90,7 @@ run(sim, datetime+Month(3))
9090 run(sim, 10)
9191 ```
9292* The continuous time simulation is based on a quantized state system solver. (EXPERIMENTAL)
93- ```
93+ ``` julia
9494@model function diffeq (t, x, p, dx)
9595 dx[1 ] = p[2 ]+ 0.01 * x[2 ]
9696 dx[2 ] = p[1 ]- 100.0 * x[1 ]- 100.0 * x[2 ]
You can’t perform that action at this time.
0 commit comments