From 92f63f116b106d0f0f3b6814ccc994b20c22a611 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 30 May 2026 20:20:01 +0000 Subject: [PATCH] style: use explicit float literal for `beta` check in `stats/base/dists/gumbel/cdf/lib/factory.js` Aligns the validation predicate with the namespace convention. Previously the only occurrence in `stats/base/dists/gumbel` using bare `beta <= 0`; all 19 other comparisons across the namespace's `lib/main.js` and `lib/factory.js` files use `beta <= 0.0` (95% conformance). Numerically equivalent in JavaScript; change is purely stylistic. --- .../@stdlib/stats/base/dists/gumbel/cdf/lib/factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/lib/factory.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/lib/factory.js index d4a8026542cf..223939356eae 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/lib/factory.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/cdf/lib/factory.js @@ -47,7 +47,7 @@ function factory( mu, beta ) { if ( isnan( mu ) || isnan( beta ) || - beta <= 0 + beta <= 0.0 ) { return constantFunction( NaN ); }