Skip to content

fix an assert in symmetry#2720

Merged
dyzheng merged 2 commits into
deepmodeling:developfrom
maki49:symmetry_fix_ntrans
Jul 20, 2023
Merged

fix an assert in symmetry#2720
dyzheng merged 2 commits into
deepmodeling:developfrom
maki49:symmetry_fix_ntrans

Conversation

@maki49

@maki49 maki49 commented Jul 12, 2023

Copy link
Copy Markdown
Collaborator

fix #2702

@dyzheng dyzheng left a comment

Copy link
Copy Markdown
Collaborator

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
@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