From 925f863c7bd0070c7566608751b2290b693dfb94 Mon Sep 17 00:00:00 2001 From: AndrewChubatiuk Date: Tue, 9 Jul 2024 11:04:36 +0300 Subject: [PATCH] fixed histogram merge --- histogram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/histogram.go b/histogram.go index 0d953d5..ccb63d9 100644 --- a/histogram.go +++ b/histogram.go @@ -130,7 +130,7 @@ func (h *Histogram) Merge(b *Histogram) { h.decimalBuckets[i] = &b } for j := range db { - h.decimalBuckets[i][j] = db[j] + h.decimalBuckets[i][j] += db[j] } } }