diff options
author | Taylor R Campbell <campbell+tor@mumble.net> | 2019-01-10 18:11:36 +0000 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-01-11 14:41:28 +0200 |
commit | 9728d3f8ac395d7157d30f9b73117b58d704432c (patch) | |
tree | 2d9457228d86341546f6af696d1d8809c139d2fd | |
parent | d82a8a7f9d268728b2447b2dbbaa346140784f9b (diff) | |
download | tor-9728d3f8ac395d7157d30f9b73117b58d704432c.tar.gz tor-9728d3f8ac395d7157d30f9b73117b58d704432c.zip |
Fix wrong bases.
-rw-r--r-- | src/core/or/circuitpadding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/circuitpadding.c b/src/core/or/circuitpadding.c index 4080614338..36fcbb5030 100644 --- a/src/core/or/circuitpadding.c +++ b/src/core/or/circuitpadding.c @@ -551,7 +551,7 @@ circpad_distribution_sample(circpad_distribution_t dist) { /* param1 is Mu, param2 is sigma. */ const struct logistic my_logistic = { - .base = LOGISTIC(my_uniform), + .base = LOGISTIC(my_logistic), .mu = dist.param1, .sigma = dist.param2, }; @@ -590,7 +590,7 @@ circpad_distribution_sample(circpad_distribution_t dist) { /* param1 is sigma, param2 is xi, no more params for mu so we use 0 */ const struct genpareto my_genpareto = { - .base = GENPARETO(my_weibull), + .base = GENPARETO(my_genpareto), .mu = 0, .sigma = dist.param1, .xi = dist.param2, |