Daily `arc lint --take CLANGFORMAT`

Reviewed By: jhpowell

Differential Revision: D45908420

fbshipit-source-id: 84dfedc4af9dea3887e27e79b53414afd0c1790d
pull/2862/head
generatedunixname89002005325676 2023-05-16 07:40:22 -07:00 committed by Facebook GitHub Bot
parent b9ea339617
commit 615e3fca7f
2 changed files with 1 additions and 3 deletions

View File

@ -71,5 +71,4 @@ struct PartitionStats {
// global var that collects them all
FAISS_API extern PartitionStats partition_stats;
} // namespace faiss

View File

@ -558,8 +558,7 @@ void CombinerRangeKNN::compute_sizes(int64_t* L_res) {
int64_t n_in;
if (!mask || !mask[i]) {
const float* row = D + i * k;
n_in = keep_max ? count_gt(k, row, r2)
: count_lt(k, row, r2);
n_in = keep_max ? count_gt(k, row, r2) : count_lt(k, row, r2);
} else {
n_in = lim_remain[j + 1] - lim_remain[j];
j++;