mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-23 22:44:58 +02:00
531df9590d
Test exactly what the geometric sampler returns, because that's what the downstream callers of it are going to use. While here, also assert that the geometric sampler returns a positive integer. (Our geometric distribution is the one suported on {1, 2, 3, ...} that returns the number of trials before the first success, not the one supported on {0, 1, 2, ...} that returns the number of failures before the first success.) |
||
---|---|---|
.. | ||
.may_include | ||
fp.c | ||
fp.h | ||
include.am | ||
laplace.c | ||
laplace.h | ||
prob_distr.c | ||
prob_distr.h |