diff --git a/tupak/likelihood.py b/tupak/likelihood.py index 8a28d23371c346e816d21ff5099a570b35193ad9..c15747b51cbd70a6caeffe5422aadbc3edcac848 100644 --- a/tupak/likelihood.py +++ b/tupak/likelihood.py @@ -256,7 +256,7 @@ class HyperparameterLikelihood(Likelihood): """ def __init__(self, samples, hyper_prior, run_prior): - Likelihood.__init__(parameters=hyper_prior.__dict__) + Likelihood.__init__(self, parameters=hyper_prior.__dict__) self.samples = samples self.hyper_prior = hyper_prior self.run_prior = run_prior