llnl / llnl/sundials

Usless assigments to argument

Open Beginner friendly
#899 3 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #905 by @Steven-Roberts — merged
enhancement
Dominant language
C
Stars
686
Forks
167
Avg merge
1d 20h
Merged PRs (30d)
17

Description

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the four linked locations in src/sundials/sundials_direct.c and src/sundials/sundials_nvector.c, and inspect how each pointer argument is used around the assignment. Remove only assignments that affect a local pointer copy rather than the caller, then verify the resulting SUNDIALS changes with the project’s normal validation process.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
hpc
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.