Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: compare pwscf energy by relative error (#1643)
ut failure caused by deepmodeling/dpdata#725 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved handling of edge cases in coordinate and energy tests, enhancing test robustness for zero values. - Added conditional checks to ensure accurate comparisons in energy calculations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Han Wang <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information