summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2022-05-25 21:14:37 -0500
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-26 10:39:29 +0200
commit6a5acd753abbd899547c89b369de71df639cce19 (patch)
tree2aca1bc7d9ea86129819db0f248fe83c95f9cd12 /commands
parent805b21555e283c28a669943a36af6d6d699e9198 (diff)
metrics: Fix divide by zero error
Under certain conditions, `howSimilarString` could reach a divide-by- zero situation which causes bogus values to print in the cache potential column of the template hints output. This situation essentially causes a `int(math.NaN())` value to be returned and hilarity ensues thereafter.
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions