From 18c4304aaf85401845359789f49f1987c60d8bf9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 17 Jun 2026 14:41:33 +0000 Subject: [PATCH] style: add missing decimal in `stats/base/dists/erlang/mgf` C example Propagates fix from 8e421b2b ("style: add missing decimal") to the sibling Erlang MGF C implementation, whose JSDoc `@example` passed `1` (integer literal) for the `k` shape parameter despite the function signature declaring `k` as `const double`. Matches the source commit's exact substitution. --- lib/node_modules/@stdlib/stats/base/dists/erlang/mgf/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/erlang/mgf/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/erlang/mgf/src/main.c index 502d1ac44a2c..f28adcf4e3fd 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/erlang/mgf/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dists/erlang/mgf/src/main.c @@ -30,7 +30,7 @@ * @return evaluated MGF * * @example -* double v = stdlib_base_dists_erlang_mgf( 0.3, 1, 1.0 ); +* double v = stdlib_base_dists_erlang_mgf( 0.3, 1.0, 1.0 ); * // returns ~1.429 */ double stdlib_base_dists_erlang_mgf( const double t, const double k, const double lambda ) {