diff --git a/faiss/IndexShards.cpp b/faiss/IndexShards.cpp index 8d5c41ccc..e32b57eff 100644 --- a/faiss/IndexShards.cpp +++ b/faiss/IndexShards.cpp @@ -275,5 +275,4 @@ void IndexShardsTemplate::search( template struct IndexShardsTemplate; template struct IndexShardsTemplate; - } // namespace faiss diff --git a/faiss/gpu/GpuIndexIVF.h b/faiss/gpu/GpuIndexIVF.h index 8367df06b..7bb77c06a 100644 --- a/faiss/gpu/GpuIndexIVF.h +++ b/faiss/gpu/GpuIndexIVF.h @@ -117,7 +117,6 @@ class GpuIndexIVF : public GpuIndex, public IndexIVFInterface { const IVFSearchParameters* params = nullptr, IndexIVFStats* stats = nullptr) const override; - protected: /// From either the current set nprobe or the SearchParameters if available, /// return the nprobe that we should use for the current search