Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion gap/base/recognition.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ RECOG.TestGroupOptions := rec(

# if the following is set to true, then we test what happens if SLPforElement
# is called with elements outside the group
tryNonGroupElements := false
tryNonGroupElements := true
);


Expand Down
6 changes: 6 additions & 0 deletions gap/perm/giant.gi
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ RECOG.SLPforSn := function( n, pi )

local cycles, initpts, c, newc, i, R, ci, cycslp, k ;

if pi = fail then
return fail;
fi;
if IsOne(pi) then
return StraightLineProgramNC( [[1,0]], 2 );
fi;
Expand Down Expand Up @@ -644,6 +647,9 @@ RECOG.SLPforAn := function( n, pi )
local cycles, initpts, c, newc, R, i, nexttrpn, ci, cycslp, k, j,
nexttau, nextsigma ;

if pi = fail then
return fail;
fi;
if IsOne(pi) then
return StraightLineProgramNC( [[1,0]], 2 );
fi;
Expand Down
Loading