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 authored and wilfwilson committed Mar 25, 2021
1 parent e71e36c commit 4a3fe6a
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 4a3fe6a

Please sign in to comment.