Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small nsec #187

Merged
merged 3 commits into from
Jan 18, 2025
Merged

small nsec #187

merged 3 commits into from
Jan 18, 2025

Conversation

kohei-noda-qcrg
Copy link
Member

このプルリクは何?

プルリクの内容を記述してください

  • インプットのninact + nact + nsecの値がMRCONEEに書いてあるnmoの数より少ないときにone_elec_int_[r,i]およびkrのallocateサイズが小さくなって範囲外エラーが発生する問題の修正

実装の内容

実装の内容を記述してください

(optional) 考慮事項

起こりうるバグなどがわかっている場合記述してください

if ninact + nact + nsec is less than nmo in MRCONEE, index out of range segfault occured
because one_elec_int_r and kr is allocated using ninact + nact + nsec
@kohei-noda-qcrg kohei-noda-qcrg added the bug Something isn't working label Jan 17, 2025
@kohei-noda-qcrg kohei-noda-qcrg merged commit 6837218 into main Jan 18, 2025
16 checks passed
@kohei-noda-qcrg kohei-noda-qcrg deleted the small-nsec branch January 18, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants