Skip to content

Commit f9f6e66

Browse files
committed
Updating out of date documenation
1 parent 7f3c078 commit f9f6e66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/getting_started/basic_usage/basic_usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ In GillesPy2, a model is expressed as an object. Components, such as the reacti
5555
model.add_reaction([r_c, r_d])
5656
5757
# Set the timespan for the simulation.
58-
tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
58+
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
5959
model.timespan(tspan)
6060
return model
6161
@@ -126,7 +126,7 @@ First, let's define a simple model to use in this example.
126126
model.add_reaction([r1,r2,r3])
127127
128128
# Set the timespan for the simulation.
129-
tspan = gillespy2.TimeSpan.linspace(0, 600, 601)
129+
tspan = gillespy2.TimeSpan.linspace(t=600, num_points=601)
130130
model.timespan(tspan)
131131
return model
132132

docs/tutorials/tut_toggle_switch/tut_toggle_switch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Next, we define a model. This is a model based on a publication by Gardner et al
4242
rate=mu)
4343
model.add_reaction([cu, cv, du, dv])
4444
45-
tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
45+
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
4646
model.timespan(tspan)
4747
return model
4848

0 commit comments

Comments
 (0)