提交 d05b6931 编写于 作者: A AlexDuan

add member error

上级 072a38ae
......@@ -303,7 +303,7 @@ void tdigestMerge(TDigest *t1, TDigest *t2) {
int num_points = t2->num_buffered_pts;
for(int i = num_points - 1; i >= 0; i--) {
Point* p = t2->buffered_pts + i;
tdigestAdd(t1, p->value, p->value);
tdigestAdd(t1, p->value, p->weight);
t2->num_buffered_pts --;
}
// centroids
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册