-
Notifications
You must be signed in to change notification settings - Fork 34
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
LogPDF storage issue with multi-chain methods #1700
Conversation
…nd make sure all mention single/multi chain
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1700 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 97 97
Lines 9695 9699 +4
=========================================
+ Hits 9695 9699 +4 ☔ View full report in Codecov by Sentry. |
Very easy fix @martinjrobins ! |
@@ -706,7 +726,9 @@ def test_log_pdf_storage_in_memory_multi(self): | |||
x0 = np.array(self.real_parameters) * 1.05 | |||
x1 = np.array(self.real_parameters) * 1.15 | |||
x2 = np.array(self.real_parameters) * 0.95 | |||
xs = [x0, x1, x2] | |||
x3 = np.array(self.real_parameters) * 0.95 |
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.
This bit just removes a warning because diff ev wants you to use many chains
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.
looks great, thanks @MichaelClerx :)
Tests and fix for #1691
Touched a few more files than necessary, because I updated some docstrings while looking for a multi-chain method using sensitivities. There wasn't one, so I added a "fake" one for testing.