mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 15:16:54 +08:00
Removed vector-specific code from HNSW_ELEMENT_TUPLE_SIZE [skip ci]
This commit is contained in:
@@ -118,7 +118,7 @@ CreateElementPages(HnswBuildState * buildstate)
|
||||
|
||||
/* Calculate sizes */
|
||||
maxSize = HNSW_MAX_SIZE;
|
||||
etupSize = HNSW_ELEMENT_TUPLE_SIZE(dimensions);
|
||||
etupSize = HNSW_ELEMENT_TUPLE_SIZE(VECTOR_SIZE(dimensions));
|
||||
|
||||
/* Allocate once */
|
||||
etup = palloc0(etupSize);
|
||||
|
||||
Reference in New Issue
Block a user