Skip to content

Commit

Permalink
Add a bunch of trivial implications
Browse files Browse the repository at this point in the history
This makes various "hidden" implications created by DeclareProperty
explicit, thus fixing a bunch of warnings that show up if one starts
the upcoming GAP 4.11 with the `-N` command line option, and then
loads this package.

For some information on the background of this, see also
<gap-system/gap#1649> and
<gap-system/gap#2336>
  • Loading branch information
fingolfin committed May 16, 2019
1 parent b24d454 commit 1a4205f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/alg2map.gd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ BindGlobal( "Family2dAlgebraMorphism",

DeclareProperty( "IsPreXModAlgebraMorphism", Is2dAlgebraMorphism );
DeclareProperty( "IsXModAlgebraMorphism", Is2dAlgebraMorphism );
InstallTrueMethod(Is2dAlgebraMorphism, IsPreXModAlgebraMorphism);
InstallTrueMethod(Is2dAlgebraMorphism, IsXModAlgebraMorphism);

DeclareRepresentation( "Is2dAlgebraMorphismRep",
Is2dAlgebraMorphism and IsAttributeStoringRep,
Expand All @@ -40,6 +42,8 @@ DeclareOperation( "Cat1AlgebraMorphismByHoms",

DeclareProperty( "IsPreCat1AlgebraMorphism", Is2dAlgebraMorphism );
DeclareProperty( "IsCat1AlgebraMorphism", Is2dAlgebraMorphism );
InstallTrueMethod(Is2dAlgebraMorphism, IsPreCat1AlgebraMorphism);
InstallTrueMethod(Is2dAlgebraMorphism, IsCat1AlgebraMorphism);



Expand Down

0 comments on commit 1a4205f

Please sign in to comment.