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

Fix:modify cheaktau type and add unittest #5864

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

A-006
Copy link
Collaborator

@A-006 A-006 commented Jan 16, 2025

Linked Issue

Fix #5860

Unit Tests and/or Case Tests for my changes

  • The current unit tests do not cover the scenario where cheaktau is set to true. As a result, when I modified the type of lat, the changes could not be validated through existing tests
  • when i set the type of lat in check_tau,it will be wrong in the new test
    图片

What's changed?

  • Fixed a bug related to the type of checktau. I had incorrectly specified the type for lat0.
  • Special thanks to @dzzz2001 for identifying the error in test/performance within the P102_si64_lcao test case.
  • The result is as below.
    图片

@mohanchen mohanchen added Bugs Bugs that only solvable with sufficient knowledge of DFT Input&Output Suitable for coders without knowing too many DFT details Refactor Refactor ABACUS codes labels Jan 17, 2025
@mohanchen mohanchen merged commit ce7acd0 into deepmodeling:develop Jan 17, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT Input&Output Suitable for coders without knowing too many DFT details Refactor Refactor ABACUS codes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: si64 example exits with an error
2 participants