Skip to content

Commit

Permalink
Convert report branches to int _before_ adding offset
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberiaResurrection committed Dec 18, 2024
1 parent bc7543e commit 422bc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hypofuzz/hy.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def _json_description(self) -> Report:
doubletons = self.pool.doubletons
offset = singletons * (singletons-1) / 2 if 0 == doubletons else singletons * singletons / (2 * doubletons)
offset = int(offset) + 1
report["est. branches"] = report["branches"] + offset
report["est. branches"] = int(str(report["branches"])) + offset
return report

@property
Expand Down

0 comments on commit 422bc23

Please # to comment.