lisphilar / covid19-sir

CovsirPhy: Python library for COVID-19 analysis with phase-dependent SIR-derived ODE models.
https://lisphilar.github.io/covid19-sir/
Apache License 2.0
109 stars 44 forks source link

[Fix] Scenario.retrospective() before parameter estimation raises IndexError #923

Closed lisphilar closed 2 years ago

lisphilar commented 3 years ago

Summary

Scenario.retrospective() before parameter estimation raises IndexError.

Codes and outputs

https://gist.github.com/lisphilar/a2dc74766ec6d6b8b1c541e0786b2a1b

Environment

lisphilar commented 2 years ago

This method will be deprecated at version 2.25.0.