commit f6967bdc3af2b827a352a729a328a07c13d732b9
parent 8afa5779bebe564c0bc3e5ee1a83dcab17a0bb80
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 5 Mar 2018 15:23:38 +0100
Fix a typo in a comment.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ssp.h b/src/ssp.h
@@ -303,7 +303,7 @@ ssp_ran_exp_float_pdf
/* Stateless random variate from the gaussian (or normal) distribution
* with mean `mu':
- * P(x) dx = 1 / (sigma*sqrt(2*PI)) * exp(1/2*((x-mu)/sigma)^2) dx */
+ * P(x) dx = 1 / (sigma*sqrt(2*PI)) * exp(-1/2*((x-mu)/sigma)^2) dx */
SSP_API double
ssp_ran_gaussian
(struct ssp_rng* rng,