Skip to content

Commit

Permalink
Minor improvements to epipanel
Browse files Browse the repository at this point in the history
Updated installation documentation
  • Loading branch information
fccoelho committed Dec 12, 2020
1 parent 8d29c80 commit 6a3e303
Show file tree
Hide file tree
Showing 22 changed files with 2,252 additions and 3,546 deletions.
2 changes: 1 addition & 1 deletion CustomModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def Model(inits, simstep, totpop, theta=0, npass=0, bi={}, bp={}, values=(), mod
"""

##### Get state variables' current values
if simstep == 1: # get initial values
if simstep == 0: # get initial values
E, I, S = (bi[b'e'], bi[b'i'], bi[b's'])
else: # get last value
E, I, S = inits
Expand Down
3,022 changes: 1,450 additions & 1,572 deletions Epigrass/epimodels.c

Large diffs are not rendered by default.

Loading

0 comments on commit 6a3e303

Please sign in to comment.