diff --git a/histogram.go b/histogram.go index e1a168c..0f6018b 100644 --- a/histogram.go +++ b/histogram.go @@ -75,6 +75,7 @@ func (h *Histogram) resetLocked() { } h.lower = 0 h.upper = 0 + h.sum = 0 } // Update updates h with v.