Commit 9bca303c authored by Geoff Simmons's avatar Geoff Simmons

PH min stats are 0 if there were no collision buckets.

parent acf692de
......@@ -477,6 +477,10 @@ PH_Stats(const struct ph * const restrict ph,
((double)nstrings - stats->h2strings_avg)
/ (double)stats->collisions;
}
if (stats->h2buckets_min == UINT64_MAX)
stats->h2buckets_min = 0;
if (stats->h2strings_min == UINT64_MAX)
stats->h2strings_min = 0;
}
void
......
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