Updated variable name [skip ci]

This commit is contained in:
Andrew Kane
2024-09-22 10:33:44 -07:00
parent d7152448f9
commit c5b6769bed

View File

@@ -813,7 +813,7 @@ HnswSearchLayer(char *base, Datum q, List *ep, int ef, int lc, Relation index, F
pairingheap *C = pairingheap_allocate(CompareNearestCandidates, NULL);
pairingheap *W = pairingheap_allocate(CompareFurthestCandidates, NULL);
int wlen = 0;
visited_hash v2;
visited_hash vh;
ListCell *lc2;
HnswNeighborArray *localNeighborhood = NULL;
Size neighborhoodSize = 0;
@@ -823,7 +823,7 @@ HnswSearchLayer(char *base, Datum q, List *ep, int ef, int lc, Relation index, F
if (v == NULL)
{
v = &v2;
v = &vh;
initVisited = true;
}