Commit c25297a1 authored by Chris Jewell's avatar Chris Jewell
Browse files

Updated ints to floats in README example.

parent 3cc454d3
Pipeline #296 passed with stage
in 4 minutes and 14 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