Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
illagrenan committed Feb 9, 2022
1 parent 06d6de0 commit 573e31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/repos/db/vector/hnsw/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (h *hnsw) knnSearchByVector(searchVec []float32, k int,
entryPointID := h.entryPointID
entryPointDistance, ok, err := h.distBetweenNodeAndVec(entryPointID, searchVec)
if err != nil {
return nil, nil, errors.Wrap(err, "knn search: distance between entrypint and query node")
return nil, nil, errors.Wrap(err, "knn search: distance between entrypoint and query node")
}

if !ok {
Expand Down

0 comments on commit 573e31d

Please sign in to comment.