Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/spinspg/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ def purify_spin_rotation(
# mirror along axis
return _get_mirror_along_axis(axis)
else:
raise ValueError("Given spin rotation does not normalize the spin-only group.")
# Tiny magnetic moment fluctuation may cause this case
return W
elif spin_only_group.spin_only_group_type == SpinOnlyGroupType.COPLANAR:
# normalizer of spin_only_group: infty/mm
mirror = _get_mirror_along_axis(spin_only_group.axis)
Expand Down