From 7b6dc38e781ae03f9b64b1e48db109a01b8e8a04 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 27 Aug 2026 08:24:14 +0000 Subject: [PATCH] docs: fix stale factory example return values in `stats/base/dists/lognormal/logpdf` The `@module` example in `lib/index.js` documented `logpdf.factory( 4.0, 2.0 )` returning ~-4.269 at x=10 and ~-3.689 at x=2. The actual values are ~-4.275 and ~-3.672. The correct values are already carried by every other representation of the same example: `lib/factory.js`, `README.md`, and `docs/repl.txt` (3/3 in-package copies agreed against the lone stale `lib/index.js`). The corrected values also restore the cross-package invariant that a member's `lib/index.js` factory example matches its `lib/factory.js` output, which holds for the other four factory-bearing members of the namespace (`cdf`, `pdf`, `quantile`, `logcdf`). Comment-only change; no observable behavior or test expectations are affected. --- .../@stdlib/stats/base/dists/lognormal/logpdf/lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/lib/index.js index 4d27a22f91a5..d495649a95b8 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/lib/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/lib/index.js @@ -37,10 +37,10 @@ * * var mylogpdf = logpdf.factory( 4.0, 2.0 ); * y = mylogpdf( 10.0 ); -* // returns ~-4.269 +* // returns ~-4.275 * * y = mylogpdf( 2.0 ); -* // returns ~-3.689 +* // returns ~-3.672 */ // MODULES //