Skip to content

Commit

Permalink
Fixed typo bug in Metropolis-Hastings part of ensemble.py
Browse files Browse the repository at this point in the history
  • Loading branch information
farr committed Sep 19, 2012
1 parent 5590d7b commit c6782d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emcee/ensemble.py
Expand Up @@ -199,7 +199,7 @@ def sample(self, p0, lnprob0=None, rstate0=None, blobs0=None,
if mh_proposal is not None:
# Draw proposed positions & evaluate lnprob there
q = mh_proposal(p)
newlnp, blob = self._getlnprob(q)
newlnp, blob = self._get_lnprob(q)

# Accept if newlnp is better; and ...
acc = (newlnp > lnprob)
Expand Down

0 comments on commit c6782d3

Please sign in to comment.