Mercurial > pylearn
changeset 1269:c24c98da5615
renamed updates variable in hmc
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Fri, 03 Sep 2010 12:36:53 -0400 |
parents | 78a09cdd449b |
children | d38cb039c662 |
files | pylearn/sampling/hmc.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/sampling/hmc.py Fri Sep 03 12:35:49 2010 -0400 +++ b/pylearn/sampling/hmc.py Fri Sep 03 12:36:53 2010 -0400 @@ -215,7 +215,7 @@ avg_acceptance_rate=avg_acceptance_rate, target_acceptance_rate=target_acceptance_rate, s_rng=s_rng, - simulate_updates=simulate_updates, + updates=lambda: list(simulate_updates), simulate=simulate) def draw(self, **kwargs):