mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 23:26:55 +08:00
Added comment [skip ci]
This commit is contained in:
@@ -531,6 +531,7 @@ CheckCenters(Relation index, VectorArray centers, IvfflatTypeInfo * typeInfo)
|
|||||||
for (int j = 0; j < centers->dim; j++)
|
for (int j = 0; j < centers->dim; j++)
|
||||||
scratch[j] = 0;
|
scratch[j] = 0;
|
||||||
|
|
||||||
|
/* /fp:fast may not propagate NaN with MSVC, but that's alright */
|
||||||
typeInfo->sumCenter(VectorArrayGet(centers, i), scratch);
|
typeInfo->sumCenter(VectorArrayGet(centers, i), scratch);
|
||||||
|
|
||||||
for (int j = 0; j < centers->dim; j++)
|
for (int j = 0; j < centers->dim; j++)
|
||||||
|
|||||||
Reference in New Issue
Block a user