From 92479e077450598f195e8d0fa91d099b88cd5683 Mon Sep 17 00:00:00 2001
From: Gregory Ashton <gregory.ashton@ligo.org>
Date: Tue, 22 May 2018 21:37:11 +1000
Subject: [PATCH] Fix bug in HPlikelihood init

---
 tupak/likelihood.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tupak/likelihood.py b/tupak/likelihood.py
index 8a28d2337..c15747b51 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
-- 
GitLab