-
Notifications
You must be signed in to change notification settings - Fork 139
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
Refactor: remove Hloc, Hloc2, Sloc, Sloc2 in LCAO_Matrix #4574
Conversation
source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/dftu_force_stress.hpp
Outdated
Show resolved
Hide resolved
source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/dftu_force_stress.hpp
Outdated
Show resolved
Hide resolved
Why didn't clang-tidy do the same wrong behavior as in commit d72d89d in commit db5ad46 in this PR, changing |
@haozhihan I guess you are asking why the latest commit is correct, right? As you can see, Edit: the wrong modification above is the result of missing a header file, but not "random behavior of clang-tidy". |
The lack of header of timer.h won't cause any error in building test, which means header in included by other included headers. I don't think the related rule of clang-tidy is good. |
Thank you very much for your patience. I understand the reason for this matter. Thank you very much again! @caic99 |
@dyzheng Well, I think it helped us to find a potential bug, although it is a compile-time one and easy to fix. Passing building test does not ensure 100% correctness. |
Reminder
Linked Issue
Fix #...
Unit Tests and/or Case Tests for my changes
What's changed?
Any changes of core modules? (ignore if not applicable)