Incorrect Variable Name nword2 Instead of nword in GenCIWfn Constructor
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 35
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
In the genciwfn.cpp constructor, the use of nword2 leads to the incorrect indexing labeled with k.
Issue Details
- File: genciwfn.cpp - Line: 46
- Incorrect Variable:
nword2 - Correct Variable:
nword
Code Before Correction
k += wfn.nword2;
Code After Correction
k += wfn.nword;
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review pyci/src/genciwfn.cpp around line 46 in the GenCIWfn constructor and verify how k is advanced there. Done when the incorrect variable reference is corrected to the intended word-count variable and the project’s existing build or tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- hpc
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100