Fix arithmetic crystal class for -6m2P and -62mP #367
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Arithmetic crystal classes for P-6m2 (No. 187), P-6c2 (No. 188), P-62m (No. 199), and P-62c (No. 190) seem to be opposite.
char arithmetic_crystal_class_symbols[74][7]
inarithmetic.c
looks to follow the order in IUCr's dictionary.Then, arithmetic number 56 is -62mP, and 57 is -6m2P.
Thus, the arithmetic crystal class for P-6m2 (No. 187) is -6m2P (57) not -62mP (56).
After this PR, these arithmetic crystal classes for 187-190 are fixed as follows:
Actually, I think the order of arithmetic crystal classes for -62mP and -6m2P is strange: other cases like -42mP and -4m2P are ordered the same as space group types.