Skip to content

Commit

Permalink
Don't fail fast on ratios
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Oct 24, 2023
1 parent 9bb202a commit b71ae45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@ def __init__(self, num: int, den: int | None, percentage: bool = True):
self.num = num
self.den = den
self.percentage = percentage
if den == 0 and num != 0:
raise ValueError("Invalid denominator")

def __float__(self):
if self.den == 0:
Expand Down

0 comments on commit b71ae45

Please sign in to comment.