-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and improve performance of iterative solver (#63)
* Simplify susceptible matrix creation * Remove unnecessary contact_matrix copy * Use arithm operation rather than ifelse() * Remove unused argument from fn_f() * Use same index to modify values in contact_matrix_ * Fix final setting to 0 * Fix test for iterative solver, add epi_spread step (#64) Co-authored-by: Pratik Gupte <[email protected]>
- Loading branch information
1 parent
9020b5a
commit 185e99f
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters