Commit 88857f60 authored by Chris Jewell's avatar Chris Jewell
Browse files

Merge branch 'patch-1' into 'master'

Updated ints to floats in README example.

See merge request !5
parents 3cc454d3 c25297a1
Pipeline #314 failed with stage
in 3 minutes and 45 seconds
......@@ -23,8 +23,8 @@ from gem import GEM
from gem.plotting import plot_timeseries, traceplot
prog = """
beta ~ Gamma(2, 10)
gamma ~ Gamma(1, 10)
beta ~ Gamma(2.0, 10.0)
gamma ~ Gamma(1.0, 10.0)
Epidemic MyEpidemic() {
......@@ -32,7 +32,7 @@ Epidemic MyEpidemic() {
I = State(init=1)
R = State(init=0)
[S -> I] = beta * I / 1000
[S -> I] = beta * I / 1000.0
[I -> R] = gamma
}
epi ~ MyEpidemic()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment