### Describe the Code Quality Issue ABACUS get coredumped and failed to throw a `logic error` when taking Wannier90-related calculations with `gamma_only=1`. ### Additional Context _No response_ ### Task list for Issue attackers (only for developers) - [ ] Identify the specific code file or section with the code quality issue. - [ ] Investigate the issue and determine the root cause. - [ ] Research best practices and potential solutions for the identified issue. - [ ] Refactor the code to improve code quality, following the suggested solution. - [ ] Ensure the refactored code adheres to the project's coding standards. - [ ] Test the refactored code to ensure it functions as expected. - [ ] Update any relevant documentation, if necessary. - [ ] Submit a pull request with the refactored code and a description of the changes made.
Describe the Code Quality Issue
ABACUS get coredumped and failed to throw a
logic errorwhen taking Wannier90-related calculations withgamma_only=1.Additional Context
No response
Task list for Issue attackers (only for developers)