mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +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;
|
||||
|
||||
#ifdef IVFFLAT_MEMORY
|
||||
ShowMemoryUsage(MemoryContextGetParent(CurrentMemoryContext));
|
||||
ShowMemoryUsage(MemoryContextGetParent(CurrentMemoryContext), totalSize);
|
||||
#endif
|
||||
|
||||
/* Pick initial centers */
|
||||
|
||||
Reference in New Issue
Block a user