Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/getting_started/basic_usage/basic_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ In GillesPy2, a model is expressed as an object. Components, such as the reacti
model.add_reaction([r_c, r_d])

# Set the timespan for the simulation.
tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
model.timespan(tspan)
return model

Expand Down Expand Up @@ -126,7 +126,7 @@ First, let's define a simple model to use in this example.
model.add_reaction([r1,r2,r3])

# Set the timespan for the simulation.
tspan = gillespy2.TimeSpan.linspace(0, 600, 601)
tspan = gillespy2.TimeSpan.linspace(t=600, num_points=601)
model.timespan(tspan)
return model

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/tut_toggle_switch/tut_toggle_switch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Next, we define a model. This is a model based on a publication by Gardner et al
rate=mu)
model.add_reaction([cu, cv, du, dv])

tspan = gillespy2.TimeSpan.linspace(0, 100, 101)
tspan = gillespy2.TimeSpan.linspace(t=100, num_points=101)
model.timespan(tspan)
return model

Expand Down
Loading