From 2366c81d60b3d2d2c156cf3b007ab74329175629 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 9 Aug 2026 12:47:14 +0000 Subject: [PATCH 1/2] fix: use portable format specifiers in `number/int64/base/identity` examples Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01E2Zn33Ra7ZacEpKJKVXi2f --- lib/node_modules/@stdlib/number/int64/base/identity/README.md | 3 ++- .../@stdlib/number/int64/base/identity/examples/c/example.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/number/int64/base/identity/README.md b/lib/node_modules/@stdlib/number/int64/base/identity/README.md index 7e07d6fca801..ba464978261a 100644 --- a/lib/node_modules/@stdlib/number/int64/base/identity/README.md +++ b/lib/node_modules/@stdlib/number/int64/base/identity/README.md @@ -174,6 +174,7 @@ int64_t stdlib_base_int64_identity( const int64_t x ); #include "stdlib/number/int64/base/identity.h" #include #include +#include int main( void ) { const int64_t x[] = { 3, 5, 10, 4294967296 }; @@ -182,7 +183,7 @@ int main( void ) { int i; for ( i = 0; i < 4; i++ ) { y = stdlib_base_int64_identity( x[ i ] ); - printf( "f(%ld) = %ld\n", x[ i ], y ); + printf( "f(%" PRId64 ") = %" PRId64 "\n", x[ i ], y ); } } ``` diff --git a/lib/node_modules/@stdlib/number/int64/base/identity/examples/c/example.c b/lib/node_modules/@stdlib/number/int64/base/identity/examples/c/example.c index a54ce60c0f71..175dbc153d92 100644 --- a/lib/node_modules/@stdlib/number/int64/base/identity/examples/c/example.c +++ b/lib/node_modules/@stdlib/number/int64/base/identity/examples/c/example.c @@ -19,6 +19,7 @@ #include "stdlib/number/int64/base/identity.h" #include #include +#include int main( void ) { const int64_t x[] = { 3, 5, 10, 4294967296 }; @@ -27,6 +28,6 @@ int main( void ) { int i; for ( i = 0; i < 4; i++ ) { y = stdlib_base_int64_identity( x[ i ] ); - printf( "f(%ld) = %ld\n", x[ i ], y ); + printf( "f(%" PRId64 ") = %" PRId64 "\n", x[ i ], y ); } } From bddf6295e868d366294ab132cd717ad6a3da43d2 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 9 Aug 2026 12:47:23 +0000 Subject: [PATCH 2/2] docs: remove duplicated colon in `ml/base/sgd/params/struct-factory` README Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01E2Zn33Ra7ZacEpKJKVXi2f --- .../@stdlib/ml/base/sgd/params/struct-factory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/ml/base/sgd/params/struct-factory/README.md b/lib/node_modules/@stdlib/ml/base/sgd/params/struct-factory/README.md index 9c966f7e84cd..c3f761cfcc49 100644 --- a/lib/node_modules/@stdlib/ml/base/sgd/params/struct-factory/README.md +++ b/lib/node_modules/@stdlib/ml/base/sgd/params/struct-factory/README.md @@ -62,7 +62,7 @@ A returned [`struct`][@stdlib/dstructs/struct] constructor supports the followin - **penaltyParams**: parameters specific to the regularization function being used. Must be an array having length `2`, with any unused elements set to zero. The expected array contents depend on `penalty`: - - **l1**: : `[ lambda, 0.0 ]` + - **l1**: `[ lambda, 0.0 ]` - **l2**: `[ lambda, 0.0 ]` - **elasticnet**: `[ lambda, l1Ratio ]` - **none**: `[ 0.0, 0.0 ]` (unused)