Unverified Commit b438bc5a authored by Jeremy Kun's avatar Jeremy Kun Committed by GitHub
Browse files

comment typo: form -> from (#8921)

parent a972503f
...@@ -1033,7 +1033,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) { ...@@ -1033,7 +1033,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) {
serverPanic("Unknown HyperLogLog encoding in hllCount()"); serverPanic("Unknown HyperLogLog encoding in hllCount()");
} }
/* Estimate cardinality form register histogram. See: /* Estimate cardinality from register histogram. See:
* "New cardinality estimation algorithms for HyperLogLog sketches" * "New cardinality estimation algorithms for HyperLogLog sketches"
* Otmar Ertl, arXiv:1702.01284 */ * Otmar Ertl, arXiv:1702.01284 */
double z = m * hllTau((m-reghisto[HLL_Q+1])/(double)m); double z = m * hllTau((m-reghisto[HLL_Q+1])/(double)m);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment