mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-13 08:06:54 +08:00
Fixed -DIVFFLAT_MEMORY [skip ci]
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user