Daily `arc lint --take CLANGFORMAT`
Reviewed By: jhpowell Differential Revision: D45908420 fbshipit-source-id: 84dfedc4af9dea3887e27e79b53414afd0c1790dpull/2862/head
parent
b9ea339617
commit
615e3fca7f
|
@ -71,5 +71,4 @@ struct PartitionStats {
|
|||
// global var that collects them all
|
||||
FAISS_API extern PartitionStats partition_stats;
|
||||
|
||||
|
||||
} // namespace faiss
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue