Skip to content
Snippets Groups Projects
Commit 265375e0 authored by Colm Talbot's avatar Colm Talbot
Browse files

fix logic on whether log likelihood ratio is used

parent 047508ba
No related branches found
No related tags found
1 merge request!53Change result evidence naming
Pipeline #
......@@ -576,7 +576,7 @@ def run_sampler(likelihood, priors=None, label='label', outdir='outdir',
result = sampler._run_external_sampler()
result.log_noise_evidence = likelihood.noise_log_likelihood()
if use_ratio:
if sampler.use_ratio:
result.log_bayes_factor = result.log_evidence
result.log_evidence = result.log_bayes_factor + result.log_noise_evidence
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment