diff --git a/ann_benchmarks/algorithms/faiss.py b/ann_benchmarks/algorithms/faiss.py index 6bf975c44..14b414b70 100644 --- a/ann_benchmarks/algorithms/faiss.py +++ b/ann_benchmarks/algorithms/faiss.py @@ -57,7 +57,7 @@ def fit(self, X): def set_query_arguments(self, n_probe): self._n_probe = n_probe - self._index.n_probe = self._n_probe + self._index.nprobe = self._n_probe def query(self, v, n): if self._metric == 'angular':