Fixed -DIVFFLAT_MEMORY [skip ci]

This commit is contained in:
Andrew Kane
2024-08-24 20:56:33 -07:00
parent ea99957fae
commit 5d86b177ab

View File

@@ -327,7 +327,7 @@ ElkanKmeans(Relation index, VectorArray samples, VectorArray centers, const Ivff
newCenters->length = numCenters; newCenters->length = numCenters;
#ifdef IVFFLAT_MEMORY #ifdef IVFFLAT_MEMORY
ShowMemoryUsage(MemoryContextGetParent(CurrentMemoryContext)); ShowMemoryUsage(MemoryContextGetParent(CurrentMemoryContext), totalSize);
#endif #endif
/* Pick initial centers */ /* Pick initial centers */