Skip to content

Commit 7d749fe

Browse files
committed
Add a comment.
1 parent 3a3bc2c commit 7d749fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cbits/distrib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void hs_distrib_combine(struct distrib* b, struct distrib* a) {
3838
a->mean = (count == 0) ? 0.0 : mean; // divide-by-zero gives NaN
3939
a->sum_sq_delta = sum_sq_delta;
4040
a->sum = a->sum + b->sum;
41-
a->min = b->min;
42-
a->max = b->max;
41+
a->min = b->min; // This is slightly hacky, but ok: see
42+
a->max = b->max; // 813aa426be78e8abcf1c7cdd43433bcffa07828e
4343
hs_unlock(&b->lock);
4444
}

0 commit comments

Comments
 (0)