Skip to content
Snippets Groups Projects
Commit c5d41958 authored by moritz's avatar moritz
Browse files

Moritz Huebner: Adapted syntax to change in likelihood.py

parent b10dbcdf
No related branches found
No related tags found
1 merge request!17Unify parameter and prior classes
......@@ -218,7 +218,7 @@ def run_sampler(likelihood, priors, label='label', outdir='outdir',
sampler = sampler_class(likelihood, priors, sampler, outdir=outdir,
label=label, **sampler_kwargs)
result = sampler.run_sampler()
result.noise_logz = likelihood.noise_log_likelihood
result.noise_logz = likelihood.noise_log_likelihood()
result.log_bayes_factor = result.logz - result.noise_logz
print("")
result.save_to_file(outdir=outdir, label=label)
......
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