From 3dd7e18c71c5b56b1cc2ed98742808665dee06f3 Mon Sep 17 00:00:00 2001 From: Matthew Kim <38759997+friendlymatthew@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:23:30 -0400 Subject: [PATCH] merge --- pkg/hnsw/hnsw.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/hnsw/hnsw.go b/pkg/hnsw/hnsw.go index 750d0df..a96b5f8 100644 --- a/pkg/hnsw/hnsw.go +++ b/pkg/hnsw/hnsw.go @@ -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