Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid trivial function wrappers #66

Merged
merged 3 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
avoid trivial function wrappers
  • Loading branch information
cdwensley committed Jan 6, 2024
commit 264bd22d13ab733926346a82215ba661481948ca
2 changes: 1 addition & 1 deletion lib/lcset.gi
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ InstallMethod( LeftCosetsNC, "generic", IsIdenticalObj, [ IsGroup, IsGroup ], 0,
function( G, U )
local L;
L := RightCosetsNC( G, U );
return List( L, rc -> Inverse( rc ) );
return List( L, Inverse );
end);


4 changes: 2 additions & 2 deletions lib/lists.gi
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ function( G, H )
Error( "<H> must be a subgroup of <G>" );
fi;
R := RightCosets( G, H );
ER := List( R, x -> Elements( x ) );
EL := List( ER, C -> List( C, x -> x^(-1) ) );
ER := List( R, Elements );
EL := List( ER, C -> List( C, Inverse ) );
Info( InfoUtils, 3, "right cosets: ", ER );
Info( InfoUtils, 3, " left cosets: ", EL );
T := CommonRepresentatives( EL, ER );
Expand Down
Loading