diff options
-rw-r--r-- | src/core/support/histogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/histogram.c b/src/core/support/histogram.c index 78dbf98684..8a1a9d9233 100644 --- a/src/core/support/histogram.c +++ b/src/core/support/histogram.c @@ -212,7 +212,7 @@ double gpr_histogram_percentile(gpr_histogram *h, double percentile) { } double gpr_histogram_mean(gpr_histogram *h) { - GPR_ASSERT(h->count); + GPR_ASSERT(h->count != 0); return h->sum / h->count; } |