commit 33b22ac480c1dcbb36c96715a3c75ce4490565ba
parent 6ff800d59f21902c621b04a86d2ab7ad0b7bc4bc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 17 Mar 2020 09:12:40 +0100
Fix the comment of the ssp_ran_exp distribution
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ssp.h b/src/ssp.h
@@ -280,7 +280,7 @@ ssp_rng_proxy_get_type
* Miscellaneous distributions
******************************************************************************/
/* Random variate from the exponential distribution with mean `mu':
- * P(x) dx = mu * exp(-x * mu) dx */
+ * P(x) dx = 1/mu * exp(-x / mu) dx */
SSP_API double
ssp_ran_exp
(struct ssp_rng* rng,