Skip to content

Commit

Permalink
remove some trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cdwensley committed Dec 2, 2023
1 parent 1c28e22 commit 02fd88c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 36 deletions.
6 changes: 1 addition & 5 deletions lib/clashom.gi
Original file line number Diff line number Diff line change
Expand Up @@ -781,19 +781,15 @@ local clT, # classes T

Info(InfoHomClass,5,"Minimum length of this orbit ",
minlen," (",diff," missing)");
fi;

if minlen*Size(stab)=Size(centralizers[j]) then
#Assert(1,Length(smacla)>0);
maxdiff:=diff;
stabtrue:=true;
fi;

if minlen*Size(stab)=Size(centralizers[j]) then
#Assert(1,Length(smacla)>0);
maxdiff:=diff;
stabtrue:=true;
fi;

elif not stabtrue then
# we have an element that stabilizes the conjugacy class.
# correct this to an element that fixes the representative.
Expand Down
34 changes: 17 additions & 17 deletions lib/mapping.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1218,36 +1218,36 @@ DeclareGlobalFunction( "PreImage" );
## (If <A>coll</A> and the result are lists then the positions of
## entries do in general <E>not</E> correspond.)
## <P/>
## <Ref Func="PreImages"
## <Ref Func="PreImages"
## Label="set of preimages of the range of a general mapping"/>
## delegates to <Ref Attr="PreImagesRange"/> when
## called with one argument,
## and to <Ref Oper="PreImagesElm"/> resp. <Ref Oper="PreImagesSet"/> when
## called with two arguments.
## The corresponding <C>PreImagesNC</C> delegates to <C>PreImagesRange</C>
## The corresponding <C>PreImagesNC</C> delegates to <C>PreImagesRange</C>
## and <C>PreImagesSetNC</C>.
## <P/>
## If the second argument is not an element or a subset of the range of
## the first argument, incorrect results may be returned.
## In order to improve this state of affairs,
## <C>PreImages</C> has been renamed <C>PreImagesNC</C> throughout the library,
## and <C>PreImages</C> has been declared a synonym for <C>PreImagesNC</C>.
## <P/>
## In future versions of &GAP; <C>PreImages</C>
## will perform additional checks and reject invalid inputs.
## These additional checks will slow the computation so,
## when the inputs are known to be valid by construction,
## users are recommended to use <C>PreImagesNC</C>.
## <P/>
## Package authors are asked to convert their methods for
## <C>PreImages</C> to methods for <C>PreImagesNC</C>.
## Only when this has happened will the additional checks be implemented.
## the first argument, incorrect results may be returned.
## In order to improve this state of affairs,
## <C>PreImages</C> has been renamed <C>PreImagesNC</C> throughout the library,
## and <C>PreImages</C> has been declared a synonym for <C>PreImagesNC</C>.
## <P/>
## In future versions of &GAP; <C>PreImages</C>
## will perform additional checks and reject invalid inputs.
## These additional checks will slow the computation so,
## when the inputs are known to be valid by construction,
## users are recommended to use <C>PreImagesNC</C>.
## <P/>
## Package authors are asked to convert their methods for
## <C>PreImages</C> to methods for <C>PreImagesNC</C>.
## Only when this has happened will the additional checks be implemented.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
DeclareGlobalFunction( "PreImagesNC" );
DeclareSynonym( "PreImages", PreImagesNC );
DeclareSynonym( "PreImages", PreImagesNC );



Expand Down
28 changes: 14 additions & 14 deletions lib/mapping.gi
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,11 @@ end );

#############################################################################
##
#F PreImages(<map>)
#F PreImages(<map>)
#F PreImagesNC(<map>) . . . set of preimages of the range of a gen. mapping
#F PreImages(<map>,<elm>)
#F PreImages(<map>,<elm>)
#F PreImagesNC(<map>,<elm>) set of preimages of an elm under a gen. mapping
#F PreImages(<map>,<coll>)
#F PreImages(<map>,<coll>)
#F PreImagesNC(<map>,<coll>) set of preimages of a coll. under a gen. mapping
##
InstallGlobalFunction( PreImagesNC, function ( arg )
Expand Down Expand Up @@ -1180,11 +1180,11 @@ InstallMethod( PreImagesRange,
## FamRangeEqFamElm,
## [ IsSPGeneralMapping, IsObject ], 0,
## function( map, elm )
## test will be included at a later stage of the change of name
## if not elm in Image( map ) then
## return fail;
## fi;
## return PreImagesRepresentativeNC( map, elm );
## test will be included at a later stage of the change of name
## if not elm in Image( map ) then
## return fail;
## fi;
## return PreImagesRepresentativeNC( map, elm );
## end );

InstallMethod( PreImagesRepresentativeNC,
Expand All @@ -1205,12 +1205,12 @@ InstallMethod( PreImagesRepresentativeNC,
## "for total non-s.p. general mapping, and element",
## FamRangeEqFamElm,
## [ IsNonSPGeneralMapping, IsObject ], 0,
## function( map, elm )
## test will be included at a later stage of the change of name
## if not elm in Image( map ) then
## return fail;
## fi;
## return PreImagesRepresentativeNC( map, elm );
## function( map, elm )
## test will be included at a later stage of the change of name
## if not elm in Image( map ) then
## return fail;
## fi;
## return PreImagesRepresentativeNC( map, elm );
## end );

InstallMethod( PreImagesRepresentativeNC,
Expand Down

0 comments on commit 02fd88c

Please sign in to comment.