Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlymatthew committed Jun 14, 2024
1 parent 9ae0a8d commit 3dd7e18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/hnsw/hnsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ func (h *Hnsw) InsertVector(q Point) error {
if err != nil {
return fmt.Errorf("failed to find nearest neighbor to Q at level %v: %w", level, err)
}

eConnections = FromItems(items, MinComparator{})
}

h.friends[neighbor.id].friends[level] = neighborFriendsAtLevel
Expand Down

0 comments on commit 3dd7e18

Please sign in to comment.