Skip to content

Commit

Permalink
Merge pull request #169 from joezuntz/polchord-boost-like-fix
Browse files Browse the repository at this point in the history
Fix the likelihoods in the reformatted polychord boosted files
  • Loading branch information
joezuntz authored Feb 13, 2025
2 parents c996d26 + c3c2df5 commit 814828d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmosis/samplers/polychord/polychord_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def make_boosted_posterior_file(self):
for line in f:
values = [float(x) for x in line.split()]
weight = values[0]
like = values[1]
like = -0.5 * values[1]
params = values[2:]
prior = params[-1]
post = like + prior
Expand Down
2 changes: 1 addition & 1 deletion cosmosis/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.16'
__version__ = '3.16.1'

0 comments on commit 814828d

Please sign in to comment.