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 an assert in symmetry #2720

Merged
merged 2 commits into from Jul 20, 2023
Merged

Conversation

maki49
Copy link
Collaborator

@maki49 maki49 commented Jul 12, 2023

fix #2702

Copy link
Collaborator

@dyzheng dyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle, there should not be any assert in main code.
A assert means this case should not appear with any users inputs.
You can use __DEBUG macrodefinition to braket these asserts, or change them to WARNING_QUIT() if this error can be caused by users inputs.

@dyzheng dyzheng merged commit aa3c265 into deepmodeling:develop Jul 20, 2023
11 checks passed
@maki49 maki49 deleted the symmetry_fix_ntrans branch April 17, 2024 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symmetry error: Number of cells and number of vectors did not agree.
2 participants