mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
better
This commit is contained in:
parent
13081370ba
commit
de75c96a75
@ -53,8 +53,6 @@ std::pair<RanksArray, Float64> computeRanksAndTieCorrection(const Values & value
|
|||||||
}
|
}
|
||||||
left = right;
|
left = right;
|
||||||
}
|
}
|
||||||
std::cout << "tie_numenator " << tie_numenator << std::endl;
|
|
||||||
std::cout << "size " << size << std::endl;
|
|
||||||
return {out, 1 - (tie_numenator / (std::pow(size, 3) - size))};
|
return {out, 1 - (tie_numenator / (std::pow(size, 3) - size))};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,8 +68,8 @@ struct StatisticalSample
|
|||||||
|
|
||||||
SampleX x;
|
SampleX x;
|
||||||
SampleY y;
|
SampleY y;
|
||||||
size_t size_x;
|
size_t size_x{0};
|
||||||
size_t size_y;
|
size_t size_y{0};
|
||||||
|
|
||||||
void addX(X value, Arena * arena) {
|
void addX(X value, Arena * arena) {
|
||||||
++size_x;
|
++size_x;
|
||||||
|
Loading…
Reference in New Issue
Block a user