From 91ddf837b556e225c97e3694edb47e17940ccaba Mon Sep 17 00:00:00 2001 From: yuncheng Date: Mon, 31 Jul 2023 16:49:56 +0800 Subject: [PATCH] fix hnsw shrink_neighbor_list comment --- faiss/impl/HNSW.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faiss/impl/HNSW.cpp b/faiss/impl/HNSW.cpp index 24455fa877..9fc201ea39 100644 --- a/faiss/impl/HNSW.cpp +++ b/faiss/impl/HNSW.cpp @@ -222,7 +222,7 @@ int HNSW::prepare_level_tab(size_t n, bool preset_levels) { return max_level; } -/** Enumerate vertices from farthest to nearest from query, keep a +/** Enumerate vertices from nearest to farthest from query, keep a * neighbor only if there is no previous neighbor that is closer to * that vertex than the query. */