Skip to content

Commit

Permalink
Merge pull request #48 from joezuntz/main
Browse files Browse the repository at this point in the history
Trim blobs in Sampler.posterior
  • Loading branch information
minaskar authored Jun 20, 2024
2 parents 9505015 + 7777c13 commit 4ecd267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pocomc/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,8 @@ def posterior(self, resample=False, return_blobs=False, trim_importance_weights=
logl = logl[idx]
logp = logp[idx]
logw = logw[idx]
if return_blobs:
blobs = blobs[idx]

if resample:
if self.resample == 'mult':
Expand Down

0 comments on commit 4ecd267

Please sign in to comment.