Skip to content

Commit

Permalink
Merge pull request #49 from minaskar/dev
Browse files Browse the repository at this point in the history
Bump version to 1.2.2
  • Loading branch information
minaskar authored Jun 20, 2024
2 parents 6d63137 + a7a32ee commit 8dcdb78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ Copyright 2022-2024 Minas Karamanis and contributors.
Changelog
=========

**1.2.2 (20/06/24)**

- Fixed bug in ``posterior`` method related to blobs.

**1.2.1 (14/06/24)**

- Added support for log-likelihoods that return ``-np.inf`` inside the prior volume.
Expand Down
2 changes: 1 addition & 1 deletion pocomc/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.2.1"
version = "1.2.2"
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 8dcdb78

Please sign in to comment.