diff --git a/faiss/Index2Layer.cpp b/faiss/Index2Layer.cpp index 219a96d20..f3b2eea18 100644 --- a/faiss/Index2Layer.cpp +++ b/faiss/Index2Layer.cpp @@ -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); diff --git a/faiss/IndexLSH.h b/faiss/IndexLSH.h index bb0a412ac..626cef8ff 100644 --- a/faiss/IndexLSH.h +++ b/faiss/IndexLSH.h @@ -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); diff --git a/faiss/index_factory.cpp b/faiss/index_factory.cpp index 5aec597ec..a3908f42c 100644 --- a/faiss/index_factory.cpp +++ b/faiss/index_factory.cpp @@ -557,7 +557,6 @@ std::unique_ptr index_factory_sub( description = sm[sm.size() - 1]; vts.emplace_back(vt); d = vts.back()->d_out; - } if (vts.size() > 0) {