Skip to content

Commit 0aae4d3

Browse files
yockiefacebook-github-bot
authored andcommitted
fix hnsw shrink_neighbor_list comment (facebookresearch#2980)
Summary: This pr is to fix the issue facebookresearch#2978 . Pull Request resolved: facebookresearch#2980 Reviewed By: mdouze Differential Revision: D47950592 Pulled By: mlomeli1 fbshipit-source-id: 32ef06c3775f7234a5a4bb4dab36c176edea2d1f
1 parent 7bf7149 commit 0aae4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faiss/impl/HNSW.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ int HNSW::prepare_level_tab(size_t n, bool preset_levels) {
222222
return max_level;
223223
}
224224

225-
/** Enumerate vertices from farthest to nearest from query, keep a
225+
/** Enumerate vertices from nearest to farthest from query, keep a
226226
* neighbor only if there is no previous neighbor that is closer to
227227
* that vertex than the query.
228228
*/

0 commit comments

Comments
 (0)