pgvector.git / summary / log / commit / refs
commit 91cf4d223edaef1f26d53b514f3816d11f61b73b
Author: Andrew Kane <andrew@ankane.org>
Date: Thu Apr 25 19:13:43 2024 +0000
Added comment [skip ci]
src/ivfkmeans.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ivfkmeans.c b/src/ivfkmeans.c
index 84a2dd38..b9170a03 100644
--- a/src/ivfkmeans.c
+++ b/src/ivfkmeans.c
@@ -531,6 +531,7 @@ CheckCenters(Relation index, VectorArray centers, IvfflatTypeInfo * typeInfo)
for (int j = 0; j < centers->dim; j++)
scratch[j] = 0;
+ /* /fp:fast may not propagate NaN with MSVC, but that's alright */
typeInfo->sumCenter(VectorArrayGet(centers, i), scratch);
for (int j = 0; j < centers->dim; j++)
[parent: 96fdf637876b]