Added comment [skip ci]

This commit is contained in:
Andrew Kane
2024-04-11 20:03:12 -07:00
parent cca0edf458
commit 546006b7ca

View File

@@ -306,7 +306,10 @@ ElkanKmeans(Relation index, VectorArray samples, VectorArray centers, IvfflatTyp
}
if (type == IVFFLAT_TYPE_VECTOR)
{
/* Use same centers to save memory */
newCenters = aggCenters;
}
else if (type == IVFFLAT_TYPE_HALFVEC)
{
newCenters = VectorArrayInit(numCenters, dimensions, centers->itemsize);