commit 9f5c9db2f202698f0bbb535b4c5df81fd3471cf4
parent 04a43211fe780f654295763b8130c63600ee3e46
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 18 May 2021 17:01:39 +0200
Fix API comment on exponential distribution pdf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ssp.h b/src/ssp.h
@@ -306,7 +306,7 @@ ssp_rng_proxy_get_type
* Miscellaneous distributions
******************************************************************************/
/* Random variate from the exponential distribution with mean `mu':
- * P(x) dx = 1/mu * exp(-x / mu) dx */
+ * P(x) dx = mu * exp(-x * mu) dx */
SSP_API double
ssp_ran_exp
(struct ssp_rng* rng,