Skip to content

Commit

Permalink
comment typo: form -> from (#8921)
Browse files Browse the repository at this point in the history
  • Loading branch information
j2kun committed Jun 7, 2021
1 parent a972503 commit b438bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperloglog.c
Expand Up @@ -1033,7 +1033,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) {
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"
* Otmar Ertl, arXiv:1702.01284 */
double z = m * hllTau((m-reghisto[HLL_Q+1])/(double)m);
Expand Down

0 comments on commit b438bc5

Please sign in to comment.