From 6d9f7c802bc200464e082e6f157d8952a32e2217 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 12:26:57 +0000 Subject: [PATCH 1/2] style: normalize NaN comment spacing in `@stdlib/stats/base/dists/logistic/logpdf` Adds the missing space between the `//` and `NaN` token in the C source NaN-return comment, matching the form used by all 13 sibling C sources in `stats/base/dists/logistic/` (~93% conformance). --- .../@stdlib/stats/base/dists/logistic/logpdf/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/logistic/logpdf/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/logistic/logpdf/src/main.c index 070995945516..11c491231077 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/logistic/logpdf/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dists/logistic/logpdf/src/main.c @@ -46,7 +46,7 @@ double stdlib_base_dists_logistic_logpdf( const double x, const double mu, const stdlib_base_is_nan( s ) || s < 0.0 ) { - return 0.0 / 0.0; //NaN + return 0.0 / 0.0; // NaN } if ( x == STDLIB_CONSTANT_FLOAT64_NINF ) { return STDLIB_CONSTANT_FLOAT64_NINF; From 7ca13b6c5e3d494213f5b65ae2592fb91452737a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 12:27:14 +0000 Subject: [PATCH 2/2] style: normalize NaN-return operator spacing in `@stdlib/stats/base/dists/logistic/stdev` Adds the missing spaces around the `/` operator in the C source NaN-return expression, matching the form used by all 13 sibling C sources in `stats/base/dists/logistic/` (~93% conformance). --- .../@stdlib/stats/base/dists/logistic/stdev/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/src/main.c index f555f14f9f85..c4c76331e78f 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/src/main.c +++ b/lib/node_modules/@stdlib/stats/base/dists/logistic/stdev/src/main.c @@ -40,7 +40,7 @@ double stdlib_base_dists_logistic_stdev( const double mu, const double s ) { stdlib_base_is_nan( s ) || s <= 0.0 ) { - return 0.0/0.0; // NaN + return 0.0 / 0.0; // NaN } return s * PI_OVER_SQRT_THREE; }