style: add missing decimal#12937
Merged
Merged
Conversation
Propagates fix from 8e421b2 ("style: add missing decimal") to the sibling Erlang MGF C implementation, whose JSDoc `@example` passed `1` (integer literal) for the `k` shape parameter despite the function signature declaring `k` as `const double`. Matches the source commit's exact substitution.
7 tasks
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Jun 17, 2026
stats/base/dists/erlang/mgf C example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Propagating the missing-decimal fix from
8e421b2b("style: add missing decimal") to the sibling Erlang MGF C implementation. The JSDoc@exampleblock instats/base/dists/erlang/mgf/src/main.ccalledstdlib_base_dists_erlang_mgf( 0.3, 1, 1.0 )— passing the integer literal1for thekshape parameter despite the function signature declaringkasconst double. Replaces1with1.0, mirroring the source commit's exact substitution.8e421b2b(style: add missing decimal)@stdlib/stats/base/dists/erlang/mgfRelated Issues
None.
Questions
No.
Other
Split from PR #12934 per maintainer feedback: stdlib's squash-merge means the squashed commit type drives release semantics, so
fix:andstyle:propagations must travel as separate PRs to avoid spurious patch releases forstyle:-only changes.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code on behalf of @Planeshifter as an automated propagation of fixes merged to
developover the prior 24 hours. Candidate source commits were filtered for generalizable patterns, sibling sites located via grep-able pattern signatures, and each proposed patch independently validated by parallel reviewer agents before commits were applied in the primary worktree. A human will audit and promote the PR out of draft.@stdlib-js/reviewers
Generated by Claude Code