From 8b3d5a8eb0a7ef38c57d7192f25488a5a8b3dc18 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 14 Apr 2014 12:12:53 +0200 Subject: [PATCH] Comment typo in hllSparseAdd(). first -> fits. --- src/hyperloglog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperloglog.c b/src/hyperloglog.c index c600c3c0..06afc363 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -824,7 +824,7 @@ updated: continue; } /* We need two adjacent VAL opcodes to try a merge, having - * the same value, and a len that first the VAL opcode max len. */ + * the same value, and a len that fits the VAL opcode max len. */ if (p+1 < end && HLL_SPARSE_IS_VAL(p+1)) { int v1 = HLL_SPARSE_VAL_VALUE(p); int v2 = HLL_SPARSE_VAL_VALUE(p+1);