From 2de2a3496a0860399735125de938d1dabf4fe6f3 Mon Sep 17 00:00:00 2001
From: Matthew Pitkin <matthew.pitkin@ligo.org>
Date: Fri, 23 Nov 2018 11:31:06 +0000
Subject: [PATCH] Minor fix to setting compund step method

---
 bilby/core/sampler/pymc3.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bilby/core/sampler/pymc3.py b/bilby/core/sampler/pymc3.py
index 307c6853b..4f45928ce 100644
--- a/bilby/core/sampler/pymc3.py
+++ b/bilby/core/sampler/pymc3.py
@@ -433,11 +433,9 @@ class Pymc3(MCMCSampler):
                 for key in self.step_method:
                     # check for a compound step list
                     if isinstance(self.step_method[key], list):
-                        compound = []
                         for sms in self.step_method[key]:
                             curmethod = sms.lower()
-                            compound.append(pymc3.__dict__[step_methods[curmethod]]([self.pymc3_priors[key]]))
-                        self.kwargs['step'].append(compound)
+                            self.kwargs['step'].append(pymc3.__dict__[step_methods[curmethod]]([self.pymc3_priors[key]]))
                     else:
                         curmethod = self.step_method[key].lower()
                         self.kwargs['step'].append(pymc3.__dict__[step_methods[curmethod]]([self.pymc3_priors[key]]))
-- 
GitLab