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

make sure Sampler.priors is a PriorSet

parent 2f6cd610
No related branches found
No related tags found
1 merge request!59Updating priors
......@@ -39,6 +39,8 @@ class Sampler(object):
outdir='outdir', label='label', use_ratio=False, plot=False,
**kwargs):
self.likelihood = likelihood
if type(priors == dict):
priors = tupak.prior.PriorSet(priors)
self.priors = priors
self.label = label
self.outdir = outdir
......
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