Commit d5a9f564 authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Fix typo

parent a8ccd093
......@@ -124,7 +124,7 @@ def ez_emcee(log_prob_fn, lo, hi, nindep=200,
acl = sampler.get_autocorr_time()[0].max()
if np.isfinite(acl):
acl = min(1, int(np.ceil(acl)))
acl = max(1, int(np.ceil(acl)))
accept = np.mean(sampler.acceptance_fraction[0])
progress.set_postfix(acl=acl, accept=accept)
Supports Markdown
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