diff --git a/bilby/core/sampler/pymc3.py b/bilby/core/sampler/pymc3.py index fc408be045e53f0f7ad5c7f9ee657860e4107919..7677dc17c5052697cf0c23c3dac3a293fc1f4ac6 100644 --- a/bilby/core/sampler/pymc3.py +++ b/bilby/core/sampler/pymc3.py @@ -463,7 +463,7 @@ class Pymc3(MCMCSampler): else: args = {} else: - if step_kwargs is not None: + if step_kwargs is not None: args = step_kwargs.get(curmethod, {}) else: args = {}