Daily `arc lint --take CLANGFORMAT`

Reviewed By: zertosh

Differential Revision: D32910817

fbshipit-source-id: 60d0cb10412e1a37a0249bb223b75855c5596dbd
pull/2146/head
CodemodService FBSourceClangFormatLinterBot 2021-12-07 08:09:34 -08:00 committed by Facebook GitHub Bot
parent a0b50e669f
commit b60722c4cd
3 changed files with 0 additions and 4 deletions

View File

@ -106,7 +106,6 @@ void Index2Layer::train(idx_t n, const float* x) {
is_trained = true;
}
void Index2Layer::search(
idx_t /*n*/,
const float* /*x*/,
@ -116,7 +115,6 @@ void Index2Layer::search(
FAISS_THROW_MSG("not implemented");
}
void Index2Layer::transfer_to_IVFPQ(IndexIVFPQ& other) const {
FAISS_THROW_IF_NOT(other.nlist == q1.nlist);
FAISS_THROW_IF_NOT(other.code_size == code_size_2);

View File

@ -51,7 +51,6 @@ struct IndexLSH : IndexFlatCodes {
float* distances,
idx_t* labels) const override;
/// transfer the thresholds to a pre-processing stage (and unset
/// train_thresholds)
void transfer_thresholds(LinearTransform* vt);

View File

@ -557,7 +557,6 @@ std::unique_ptr<Index> index_factory_sub(
description = sm[sm.size() - 1];
vts.emplace_back(vt);
d = vts.back()->d_out;
}
if (vts.size() > 0) {