mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 08:48:38 +00:00
Removed more vector-specific code from IVFFlat [skip ci]
This commit is contained in:
1 parent
7e8be16e37
commit
bbfe1e8b61
1 file changed
+1
-1
+1
-1
@@ -482,7 +482,7 @@ CreateListPages(Relation index, VectorArray centers, int dimensions,
|
||||
Size listSize;
|
||||
IvfflatList list;
|
||||
|
||||
listSize = MAXALIGN(IVFFLAT_LIST_SIZE(VECTOR_SIZE(dimensions)));
|
||||
listSize = MAXALIGN(IVFFLAT_LIST_SIZE(centers->itemsize));
|
||||
list = palloc0(listSize);
|
||||
|
||||
buf = IvfflatNewBuffer(index, forkNum);
|
||||
|
||||
Reference in new issue
Block a user