pgvector.git / summary / log / commit / refs
commit 62482e3760ea015f678a5313e106e2168f9fc232
Author: Andrew Kane <andrew@ankane.org>
Date: Thu Oct 05 23:15:13 2023 +0000
Use e for consistency
src/hnswutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hnswutils.c b/src/hnswutils.c
index 2c7378f4..f1465d09 100644
--- a/src/hnswutils.c
+++ b/src/hnswutils.c
@@ -804,7 +804,7 @@ SelectNeighbors(List *c, int m, int lc, FmgrInfo *procinfo, Oid collation, HnswE
{
e->closer = CheckElementCloser(e, r, lc, procinfo, collation);
if (e->closer)
- added = lappend(added, newCandidate);
+ added = lappend(added, e);
}
if (e->closer)
[parent: c81302b835e8]