Skip to content

Commit

Permalink
updated to time.time()
Browse files Browse the repository at this point in the history
  • Loading branch information
marin343 committed Feb 16, 2021
1 parent 8ccfeb0 commit ac4fb3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bayespy/inference/vmp/vmp.py
Expand Up @@ -170,7 +170,7 @@ def update(self, *nodes, repeat=1, plot=False, tol=None, verbose=True, tqdm=None
if X in plot_nodes:
self.plot(X)

cputime = time.clock() - t
cputime = time.time() - t
i += 1
if tqdm is not None:
tqdm.update()
Expand Down Expand Up @@ -665,7 +665,7 @@ def cost(alpha):
for x in collapsed:
self[x].update()

cputime = time.clock() - t
cputime = time.time() - t
self._end_iteration_step('PS', cputime)


Expand Down

0 comments on commit ac4fb3f

Please sign in to comment.