Skip to content

chore: fix C lint errors (issue #13440)#13442

Open
sathwikv2005 wants to merge 1 commit into
stdlib-js:developfrom
sathwikv2005:fix/c-lint-error
Open

chore: fix C lint errors (issue #13440)#13442
sathwikv2005 wants to merge 1 commit into
stdlib-js:developfrom
sathwikv2005:fix/c-lint-error

Conversation

@sathwikv2005

@sathwikv2005 sathwikv2005 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Resolves #13440 .

Description

What is the purpose of this pull request?

This pull request:

  • updates the s1 stride pointer declaration in ndarray/base/every/src/dispatch.c to const int64_t *.
  • resolves the constVariablePointer C linting warning

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

@sathwikv2005 sathwikv2005 requested a review from a team July 13, 2026 05:12
@stdlib-bot

Copy link
Copy Markdown
Contributor

Hello! Thank you for your contribution to stdlib.

We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:

  1. Please read our contributing guidelines.

  2. Update your pull request description to include this checked box:

    - [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)

This acknowledgment confirms that you've read the guidelines, which include:

  • The developer's certificate of origin
  • Your agreement to license your contributions under the project's terms

We can't review or accept contributions without this acknowledgment.

Thank you for your understanding and cooperation. We look forward to reviewing your contribution!

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jul 13, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
ndarray/base/every $\\color{red}12002/12006$
$\\color{green}+99.97\\%$
$\\color{red}1463/1465$
$\\color{green}+99.86\\%$
$\\color{green}64/64$
$\\color{green}+100.00\\%$
$\\color{red}12002/12006$
$\\color{green}+99.97\\%$

The above coverage report was generated for the changes in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix C lint errors

2 participants