Skip to content

Commit

Permalink
Make some lists in DirectProductInfo immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 23, 2021
1 parent 05d59f1 commit 01676ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gprdperm.gi
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ BindGlobal("DirectProductOfPermGroupsWithMovedPoints",

# find old domain, new domain, and conjugating permutation
grp := grps[i];
old := pnts[i];
new := [deg+1..deg+Length(old)];
old := Immutable(pnts[i]);
new := MakeImmutable([deg+1..deg+Length(old)]);
perm := MappingPermListList( old, new );
deg := deg + Length(old);
Add( oldgrps, grp );
Expand Down

0 comments on commit 01676ad

Please sign in to comment.