def lnprob(pars, samples, obs, u): return lnlikeH(pars, samples, obs, u) + lnprior(pars)
def lnprob(pars, samples, obs, u, is2d=False): if is2d: return lnlikeH(pars, samples, obs, u) + lnprior(pars) return lnlike(pars, samples, obs, u) + lnprior(pars)