COVID-IWG / epimargin

networked, stochastic SIRD epidemiological model with Bayesian parameter estimation and policy scenario comparison tools
https://www.adaptivecontrol.org/
MIT License
9 stars 5 forks source link

Type checking in policy.py #127

Open dilawar opened 3 years ago

dilawar commented 3 years ago

https://github.com/COVID-IWG/epimargin/blob/7170f5f25a7c39f6b67c061f1a807ecb378b81b4/epimargin/policy.py#L274

model.S here is int if model: SIR.

https://github.com/COVID-IWG/epimargin/blob/7170f5f25a7c39f6b67c061f1a807ecb378b81b4/epimargin/policy.py#L180

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