Update common.py (#996)

This commit is contained in:
Eric Liang 2017-09-19 10:10:56 -07:00 committed by Philipp Moritz
parent a432285e77
commit 5c70faf76b

View file

@ -141,8 +141,8 @@ class Agent(object):
"""
start = time.time()
self.iteration += 1
result = self._train()
self.iteration += 1
time_this_iter = time.time() - start
self.time_total += time_this_iter