chore: clean-up - #14016
Conversation
Propagates fix from d4eb315 ("docs: remove unused header in examples") to sibling packages whose README C examples include `stdlib/blas/base/shared.h` without using any of its symbols. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VaWNs1MWw1uPGEaQUWCSU
Propagates fix from 1f1a165 ("bench: refactor to use dynamic memory allocation in `stats/strided/smeanpw`") to sibling packages whose C benchmarks allocate variable-length arrays on the stack. Ref: #8643 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VaWNs1MWw1uPGEaQUWCSU
Propagates fix from 58556f4 ("chore: clean-up") which const-qualified
parameters of sibling `ndarray/base/assert` C APIs; `is-contiguous`
was the only remaining non-const signature in the namespace.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014VaWNs1MWw1uPGEaQUWCSU
Propagates fix from cfbd29a ("chore: clean-up") which removed a redundant `f32` wrapper around a `powf` call in `math/base/special/frexpf` tests; `powf` already returns a value rounded to single precision. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VaWNs1MWw1uPGEaQUWCSU
|
CI status: the only red check is This is a capacity limit of the coverage workflow given the PR's package count, not a failure introduced by the diff, so there is nothing to fix in the changes themselves. If the timeout is a blocker for promoting this draft, the bench commit (0d2de10) can be split into two or three narrower PRs — happy to do that on request. Generated by Claude Code |
|
Update: Both red checks are workflow-capacity timeouts, not defects in the diff. The offer above stands: if green checks are wanted before promoting this draft, I can split the 41-package bench commit into two or three narrower PRs. Generated by Claude Code |
|
As the CI failure is expected, I'll go ahead and merge. |
blas, stats/strided, ndarray, math
Description
This pull request propagates fixes merged to
developbetween 2026-08-06 and 2026-08-07 (37d7d9e..9e08b03) to sibling packages with the same underlying issue:Remove unused
shared.hinclude in README examples. Commit d4eb315 dropped the unused#include "stdlib/blas/base/shared.h"from README C example code blocks inblas/ext/basetriangular-matrix packages; the example code uses no symbol from that header. This PR applies the identical removal to the following packages, whose README C examples carry the same dead include:@stdlib/blas/base/sger@stdlib/blas/base/dger@stdlib/blas/ext/base/dvander@stdlib/blas/ext/base/svanderPropagate dynamic memory allocation to remaining
stats/stridedlength benchmarks. Applies the pattern from 1f1a165 ([RFC]: replace static memory allocation of large arrays in C benchmarks with dynamic memory allocation (tracking issue) #8643) — replace stack-allocated VLAs (float x[ len ];) withmalloc/free— across the remainingstats/stridedlength benchmarks that still used VLAs: thesmax*/smin*/smean*/snan*/sstdev*/svariance*single-precision families (40 packages), plusdvarm'sbenchmark1, whosebenchmark2was already migrated and whose cast style the new code matches exactly. Excluded: 13 multi-array (x+y/x+mask) benchmark files, whose adaptive shape goes beyond the verbatim source patch;sztest, whose struct initializer block breaks the patch anchors; and 2 files outside thestats/stridednamespace. Scope: 41 packages under@stdlib/stats/strided.Const-qualify C API parameters. Applies the same const-qualification from 58556f4 to
@stdlib/ndarray/base/assert/is-contiguous, the last remaining non-conststdlib_ndarray_is_*signature in the namespace. Const-qualifies the parameters in both the header declaration andsrc/main.c; no other files change, as the downstream callees already accept const-qualified pointers.@stdlib/ndarray/base/assert/is-contiguousRemove redundant
f32wrapper. Removes an identical redundantf32()wrapper aroundpowf( 2.0, 27 )in@stdlib/math/base/special/absgammalnf'stest/test.jsandtest/test.native.js, matching source commit cfbd29a ("chore: clean-up"), sincepowfalready returns a single-precision-rounded value. Thef32( -powf( ... ) )wrappers around compound expressions in the same files are left as-is, consistent with the source commit's scope.@stdlib/math/base/special/absgammalnfRelated Issues
This pull request has the following related issues:
Questions
No.
Other
Validation performed before committing:
blas/ext/base/dsnansumorsREADME, whose examples fence may need re-syncing withexamples/c/example.cinstead), sites whose structure deviates from the source patch shape (stats/strided/sztest), multi-array benchmark files requiring adaptive changes beyond the verbatim patch, and theinstanceof Error→isErrorlint pattern already covered by open contributor PRs.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was generated by Claude Code as part of an automated fix-propagation routine: it mirrors fixes merged to
developin the last 24 hours onto sibling packages, with each target site validated by independent review passes before committing.@stdlib-js/reviewers
🤖 Generated with Claude Code
https://claude.ai/code/session_014VaWNs1MWw1uPGEaQUWCSU
Generated by Claude Code