Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type checking in policy.py #127

Open
2 tasks
dilawar opened this issue Jul 24, 2021 · 0 comments
Open
2 tasks

Type checking in policy.py #127

dilawar opened this issue Jul 24, 2021 · 0 comments

Comments

@dilawar
Copy link

dilawar commented Jul 24, 2021

  • calling numpy.ndarray function on `int

dVx * self.effectiveness * (model.S[-1].mean()/model.N[-1].mean())

model.S here is int if model: SIR.

  • SIR is treated as indexable

model[0].Rt0 -= u

May be you meant model: NetworkedSIR instead of model: SIR?

dilawar pushed a commit to dilawar/epimargin that referenced this issue Jul 24, 2021
dilawar pushed a commit to dilawar/epimargin that referenced this issue Jul 24, 2021
dilawar pushed a commit to dilawar/epimargin that referenced this issue Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant