Replacing "computed" in the more generic "performed" word.

Because this, this Class can be used in a more generic ways.
parent 3d9c2c11
...@@ -66,6 +66,6 @@ class Counter: ...@@ -66,6 +66,6 @@ class Counter:
def pprint(self, n): def pprint(self, n):
dt = time.time() - self.t0 dt = time.time() - self.t0
print("{}/{} computed in {:.1f} seconds ({:.1f}/s)". print("{}/{} performed in {:.1f} seconds ({:.1f}/s)".
format(n, self.nmodels, dt, n / dt), format(n, self.nmodels, dt, n / dt),
end="\n" if n == self.nmodels else "\r") end="\n" if n == self.nmodels else "\r")
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