Skip to content
Snippets Groups Projects
Commit 2de2a349 authored by Matthew Pitkin's avatar Matthew Pitkin
Browse files

Minor fix to setting compund step method

parent 3817a0b3
No related branches found
No related tags found
No related merge requests found
......@@ -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]]))
......
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