Skip to content

Commit

Permalink
Add a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Mar 15, 2020
1 parent 3a3bc2c commit 7d749fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cbits/distrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void hs_distrib_combine(struct distrib* b, struct distrib* a) {
a->mean = (count == 0) ? 0.0 : mean; // divide-by-zero gives NaN
a->sum_sq_delta = sum_sq_delta;
a->sum = a->sum + b->sum;
a->min = b->min;
a->max = b->max;
a->min = b->min; // This is slightly hacky, but ok: see
a->max = b->max; // 813aa426be78e8abcf1c7cdd43433bcffa07828e
hs_unlock(&b->lock);
}

0 comments on commit 7d749fe

Please sign in to comment.