-
Notifications
You must be signed in to change notification settings - Fork 2
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
Avoid None encountered in jnp array warning #270
Avoid None encountered in jnp array warning #270
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #270 +/- ##
=======================================
Coverage 92.73% 92.73%
=======================================
Files 40 40
Lines 908 909 +1
=======================================
+ Hits 842 843 +1
Misses 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for figuring this out @sbidari! I think we can remove the the plot.show()
lines you added, though.
I think we either need edit: I realize that the addition of |
Interesting. Please create new issue and/or PR to describe and fix this problem. |
Add condition for padding
observed_infection
inrtinfectionsrenewalmodel.py
to avoid padding theobserved_infection
when theinfection_obs_process_rv
isNone
and prevent theNone
encountered warning.