fixed histogram merge

This commit is contained in:
AndrewChubatiuk 2024-07-09 11:04:36 +03:00
parent d5fb341414
commit 925f863c7b
No known key found for this signature in database
GPG Key ID: 96D776CC99880667

View File

@ -130,7 +130,7 @@ func (h *Histogram) Merge(b *Histogram) {
h.decimalBuckets[i] = &b h.decimalBuckets[i] = &b
} }
for j := range db { for j := range db {
h.decimalBuckets[i][j] = db[j] h.decimalBuckets[i][j] += db[j]
} }
} }
} }