diff --git a/src/emcee/moves/kde.py b/src/emcee/moves/kde.py index 87cbe41b..d533c8cc 100644 --- a/src/emcee/moves/kde.py +++ b/src/emcee/moves/kde.py @@ -38,6 +38,6 @@ def __init__(self, bw_method=None, **kwargs): def get_proposal(self, s, c, random): c = np.concatenate(c, axis=0) kde = gaussian_kde(c.T, bw_method=self.bw_method) - q = kde.resample(len(s)) + q = kde.resample(len(s), random) factor = kde.logpdf(s.T) - kde.logpdf(q) return q.T, factor