提交 a3654256 编写于 作者: A AlexDuan

modify variant name

上级 faa9c649
......@@ -303,8 +303,8 @@ double tdigestQuantile(TDigest *t, double q) {
void tdigestMerge(TDigest *t1, TDigest *t2) {
// SPoints
int32_t num_SPoints = t2->num_buffered_pts;
for(int32_t i = num_SPoints - 1; i >= 0; i--) {
int32_t num_pts = t2->num_buffered_pts;
for(int32_t i = num_pts - 1; i >= 0; i--) {
SPt* p = t2->buffered_pts + i;
tdigestAdd(t1, p->value, p->weight);
t2->num_buffered_pts --;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册