We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3bc2c commit 7d749feCopy full SHA for 7d749fe
cbits/distrib.c
@@ -38,7 +38,7 @@ void hs_distrib_combine(struct distrib* b, struct distrib* a) {
38
a->mean = (count == 0) ? 0.0 : mean; // divide-by-zero gives NaN
39
a->sum_sq_delta = sum_sq_delta;
40
a->sum = a->sum + b->sum;
41
- a->min = b->min;
42
- a->max = b->max;
+ a->min = b->min; // This is slightly hacky, but ok: see
+ a->max = b->max; // 813aa426be78e8abcf1c7cdd43433bcffa07828e
43
hs_unlock(&b->lock);
44
}
0 commit comments