Skip to content

Commit

Permalink
fix hnsw shrink_neighbor_list comment (facebookresearch#2980)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yockie authored and facebook-github-bot committed Aug 1, 2023
1 parent 7bf7149 commit 0aae4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faiss/impl/HNSW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 0aae4d3

Please sign in to comment.