Commit 6995246
authored
Fix: Avoid duplicate neighbor slots in HNSW reverse links (#699)
* Fix: Avoid duplicate neighbor slots in HNSW reverse links
* Improve: Use `std::find` instead of `std::all_of` for neighbor presence check in `index_gt::form_reverse_links_`
* Fix: Use `std::find_if` for close_header neighbor check1 parent 7fbf086 commit 6995246
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3901 | 3901 | | |
3902 | 3902 | | |
3903 | 3903 | | |
3904 | | - | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
3905 | 3908 | | |
3906 | 3909 | | |
3907 | 3910 | | |
| |||
0 commit comments