From 8374498e6c8f20befecab25414d118f846300d95 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 12 Feb 2022 23:28:35 -0800 Subject: [PATCH] Use double [skip ci] --- src/ivfkmeans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivfkmeans.c b/src/ivfkmeans.c index d32f071..1644efe 100644 --- a/src/ivfkmeans.c +++ b/src/ivfkmeans.c @@ -264,7 +264,7 @@ MiniBatchKmeans(IvfflatBuildState * buildstate) Vector *x; int *v; int *d; - float eta; + double eta; /* Set support functions */ FmgrInfo *procinfo = index_getprocinfo(buildstate->index, 1, IVFFLAT_KMEANS_DISTANCE_PROC);