From 44698f45e759eb7503578bfc18ec6bee80299fed Mon Sep 17 00:00:00 2001 From: Otmar Ertl Date: Sat, 10 Mar 2018 20:44:20 +0100 Subject: [PATCH] made constant static --- src/hyperloglog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperloglog.c b/src/hyperloglog.c index c6c7edaa..c97c4364 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -1009,7 +1009,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) { double m = HLL_REGISTERS; double E; int j; - double alphaInf = 0.5 / log(2.); + static double alphaInf = 0.5 / log(2.); int regHisto[HLL_Q+2] = {0}; /* Compute register histogram */