Commit 9295cb1d authored by Colm Talbot's avatar Colm Talbot
Browse files

update to work with new source interface

parent 668a3253
Pipeline #15853 passed with stages
in 3 minutes and 3 seconds
......@@ -48,9 +48,9 @@ class Test(unittest.TestCase):
likelihood = peyote.likelihood.Likelihood(
prior =['simulation_parameters'].copy()
dL =['simulation_parameters']['luminosity_distance']
prior['luminosity_distance'] = peyote.parameter.Parameter(
prior =['source'].copy()
dL =['source'].luminosity_distance
prior.luminosity_distance = peyote.parameter.Parameter(
prior=peyote.prior.Uniform(lower=dL-10, upper=dL+10))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment