Commit 9dd4ae83 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix Python 2 syntax error

parent ffac9b09
......@@ -691,6 +691,6 @@ class TemperingState(object):
individual states' `gibbs_sweep()` method.
"""
if numpy.random.random() < .5:
return self.states_move(**kwargs, gibbs=True)
return self.states_move(gibbs=True, **kwargs)
else:
return self.states_swap(**kwargs)
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