diff --git a/src/core/support/histogram.c b/src/core/support/histogram.c index 673affde7136481442d9fbbaaa1699b69af742be..d16ea6c3f7ecd4b3a6dad6813a9e4749a562dcfa 100644 --- a/src/core/support/histogram.c +++ b/src/core/support/histogram.c @@ -164,7 +164,9 @@ static double threshold_for_count_below(gpr_histogram *h, double count_below) { size_t lower_idx; size_t upper_idx; - GPR_ASSERT(h->count >= 1); + if (h->count == 0) { + return 0.0; + } if (count_below <= 0) { return h->min_seen;