Skip to content

Commit

Permalink
select first power of Sn
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Johansson committed Jun 15, 2024
1 parent 35f5c72 commit 85e4723
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/subspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ msym_error_t generateSplittingOperation(msym_point_group_t *pg, msym_permutation
sop = pg->primary;
} else {
for(int i = 0;i < pg->order;i++){
if(IMPROPER_ROTATION == pg->sops[i].type && 2*pg->n == pg->sops[i].order){
if(IMPROPER_ROTATION == pg->sops[i].type && 2*pg->n == pg->sops[i].order && 1 == pg->sops[i].power){
sop = &pg->sops[i];
break;
}
Expand Down Expand Up @@ -1833,7 +1833,6 @@ msym_error_t generateSubrepresentationSpacesLowMem(msym_point_group_t *pg, int s
free(mspan);
free(mproj);
free(mscal);
free(mpih);
free(mperm);
free(morth);
free(mbasis);
Expand Down

0 comments on commit 85e4723

Please sign in to comment.