Skip to content

Commit

Permalink
fix poco output and update multinest
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Dec 11, 2024
1 parent e692fe3 commit 9a38129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmosis/samplers/poco/poco_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def execute(self):
logz, logz_err = self.sampler.evidence()

results = self.sampler.posterior(return_blobs=True, return_logw=True)
self.distribution_hints.set_from_sample(results[0], results[3], log_weights=results[1])
self.distribution_hints.set_from_sample(results[0], results[2]+results[3], log_weights=results[1])

for sample, logw, logl, logp, blob in zip(*results):
extra = np.atleast_1d(blob)
Expand Down

0 comments on commit 9a38129

Please sign in to comment.