Remove inf from stored stats
This commit is contained in:
parent
130a18cc10
commit
29bb04a51c
@ -1159,6 +1159,7 @@ class MetricsTracker(collections.defaultdict):
|
|||||||
for k, v in self.items():
|
for k, v in self.items():
|
||||||
ans[k] = v
|
ans[k] = v
|
||||||
for k, v in other.items():
|
for k, v in other.items():
|
||||||
|
if v - v == 0:
|
||||||
ans[k] = ans[k] + v
|
ans[k] = ans[k] + v
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user