Skip to content

Commit

Permalink
Merge pull request #4 from gap-packages/mh/POW
Browse files Browse the repository at this point in the history
Avoid undocumented POW, use official alternatives
  • Loading branch information
james-d-mitchell authored Aug 27, 2024
2 parents 9f0b5f6 + ead1cc8 commit 1cab99b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/subsemi.g
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


InstallOtherMethod(POW, "for a transformation collection and perm",
InstallOtherMethod(\^, "for a transformation collection and perm",
[IsTransformationCollection, IsPerm],
function(coll, x)
return Set(coll, y-> y^x);
Expand Down Expand Up @@ -28,7 +28,7 @@ ConjugateTransformations:=function(G, deg)
p := Position(l,false,0);
while p<>fail do
t := TransformationNumber(p, deg);
o := Orb(G, t, POW, rec(treehashsize:=hashlen));
o := Orb(G, t, OnPoints, rec(treehashsize:=hashlen));
Enumerate(o, hashlen);
for x in o do
l[NumberTransformation(x, deg)]:=true;
Expand Down

0 comments on commit 1cab99b

Please sign in to comment.