Skip to content

Commit

Permalink
Merge 7df2cfa into a52cb6f
Browse files Browse the repository at this point in the history
  • Loading branch information
aymgal committed Mar 3, 2021
2 parents a52cb6f + 7df2cfa commit 0c64566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hierarc/Sampling/mcmc_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ class MCMCSampler(object):
"""
class which executes the different sampling methods
"""
def __init__(self, **kwargs):
def __init__(self, *args, **kwargs):
"""
initialise the classes of the chain and for parameter options
:param kwargs: keyword arguments for the CosmoLikelihood() instance
"""
self.chain = CosmoLikelihood(**kwargs)
self.chain = CosmoLikelihood(*args, **kwargs)
self.param = self.chain.param

def mcmc_emcee(self, n_walkers, n_burn, n_run, kwargs_mean_start, kwargs_sigma_start, continue_from_backend=False,
Expand Down

0 comments on commit 0c64566

Please sign in to comment.