mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix wrong bases.
This commit is contained in:
committed by
George Kadianakis
parent
d82a8a7f9d
commit
9728d3f8ac
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user