Removed vector-specific code from HNSW_ELEMENT_TUPLE_SIZE [skip ci]

This commit is contained in:
Andrew Kane
2023-11-09 16:57:01 -08:00
parent 81a62d55d1
commit 84e073888c
3 changed files with 3 additions and 3 deletions

View File

@@ -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);