Removed unneeded check

This commit is contained in:
Andrew Kane
2025-12-11 16:28:45 -08:00
parent c711da411c
commit 3d6dd20469

View File

@@ -928,7 +928,7 @@ HnswSearchLayer(char *base, HnswQuery * q, List *ep, int ef, int lc, Relation in
continue;
}
if (eElement == NULL || !(eDistance < f->distance || alwaysAdd))
if (!(eDistance < f->distance || alwaysAdd))
{
if (discarded != NULL)
{