Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/GillesPy2/GillesPy2
Browse files Browse the repository at this point in the history
  • Loading branch information
seanebum committed Jan 6, 2020
2 parents 00de04d + c3190bb commit 5e047aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gillespy2/solvers/cython/cython_ssa_solver.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class CythonSSASolver(GillesPySolver):
seed = -1
cdef int seed_arg = seed
#set timespan for simulation(s)
timeline = np.linspace(0,t, (t//increment+1))
timeline = np.linspace(0,t, int(round(t /increment+1)))
#allocate memory for trajectories
cdef np.ndarray[np.float64_t, ndim=3] trajectories = np.zeros((number_of_trajectories, timeline.size, number_species + 1))
trajectories[:,:,0] = timeline
Expand Down

0 comments on commit 5e047aa

Please sign in to comment.