Commit 5dfd641b authored by Tiago Peixoto's avatar Tiago Peixoto

Fix unweighted_merge semantics in mcmc_sweep()

parent ed3cf9f1
......@@ -1039,7 +1039,7 @@ def mcmc_sweep(state, beta=1., c=1., niter=1, dl=False, dense=False,
nsampler.append(state.nsampler)
ncavity_sampler.append(state.nsampler)
else:
if kwargs.get("unweighted_merge", False):
if not kwargs.get("unweighted_merge", False):
emask = state.mrs
else:
emask = state.mrs.copy()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment