From 5312921d24c649db9791a5167b6db8bda67347d8 Mon Sep 17 00:00:00 2001
From: Moritz <email@moritz-huebner.de>
Date: Thu, 10 Jan 2019 15:59:20 +1100
Subject: [PATCH] Fixed a bug

---
 bilby/gw/prior.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bilby/gw/prior.py b/bilby/gw/prior.py
index 437b763bc..ee286cdb2 100644
--- a/bilby/gw/prior.py
+++ b/bilby/gw/prior.py
@@ -413,7 +413,7 @@ class CorrelatedSecondaryMassPrior(Uniform):
         super(CorrelatedSecondaryMassPrior, self).__init__(minimum=minimum, maximum=maximum,
                                                            name=name, latex_label=latex_label,
                                                            unit=unit)
-        self.correlated_variables = dict(mass_1=None)
+        self.correlated_variables = ['mass_1']
 
     def sample(self, size=None, mass_1=None):
         if mass_1 is None:
-- 
GitLab