commit e795e76cd037c4931db6ea7d0fc36a551d3b6a09
parent 04b2ee4654e77c9ceeae892b6622aa33e6528c28
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 23 Jun 2015 10:12:41 +0200
Implement the ssp_ran_exp_pdf function
This function was actually implemented with the wrong name ssp_ran_pdf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ssp_rng.c b/src/ssp_rng.c
@@ -647,7 +647,7 @@ ssp_ran_exp(struct ssp_rng* rng, const double mu)
}
double
-ssp_ran_pdf(const double x, const double mu)
+ssp_ran_exp_pdf(const double x, const double mu)
{
ASSERT(x >= 0);
return mu * exp(-x * mu);