Skip to content

Commit

Permalink
Merge pull request #621 from fingolfin/mh/InstallValue
Browse files Browse the repository at this point in the history
Avoid using InstallValue on non-plain objects
  • Loading branch information
mohamed-barakat authored Dec 21, 2024
2 parents cd8c5ad + a77cac3 commit 774f5aa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
4 changes: 0 additions & 4 deletions GradedModules/gap/Tate.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ DeclareGlobalFunction( "_Functor_TateResolution_OnGradedModules" );

DeclareGlobalFunction( "_Functor_TateResolution_OnGradedMaps" );

DeclareGlobalVariable( "Functor_TateResolution_ForGradedModules" );

DeclareGlobalFunction( "_Functor_LinearStrandOfTateResolution_OnGradedModules" );

DeclareGlobalFunction( "_Functor_LinearStrandOfTateResolution_OnGradedMaps" );

DeclareGlobalVariable( "Functor_LinearStrandOfTateResolution_ForGradedModules" );


# basic operations:

Expand Down
4 changes: 2 additions & 2 deletions GradedModules/gap/Tate.gi
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ InstallGlobalFunction( _Functor_TateResolution_OnGradedMaps, ### defines: TateRe

end );

InstallValue( Functor_TateResolution_ForGradedModules,
BindGlobal( "Functor_TateResolution_ForGradedModules",
CreateHomalgFunctor(
[ "name", "TateResolution" ],
[ "category", HOMALG_GRADED_MODULES.category ],
Expand Down Expand Up @@ -879,7 +879,7 @@ InstallMethod( LinearStrandOfTateResolution,

end );

InstallValue( Functor_LinearStrandOfTateResolution_ForGradedModules,
BindGlobal( "Functor_LinearStrandOfTateResolution_ForGradedModules",
CreateHomalgFunctor(
[ "name", "LinearStrandOfTateResolution" ],
[ "category", HOMALG_GRADED_MODULES.category ],
Expand Down
2 changes: 0 additions & 2 deletions Modules/gap/OtherFunctors.gd
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ DeclareGlobalFunction( "_Functor_DirectSum_OnModules" );

DeclareGlobalFunction( "_Functor_DirectSum_OnMaps" );

DeclareGlobalVariable( "Functor_DirectSum_for_fp_modules" );

####################################
#
# temporary
Expand Down
2 changes: 1 addition & 1 deletion Modules/gap/OtherFunctors.gi
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ InstallGlobalFunction( _Functor_DirectSum_OnMaps, ### defines: DirectSum (morphi

end );

InstallValue( Functor_DirectSum_for_fp_modules,
BindGlobal( "Functor_DirectSum_for_fp_modules",
CreateHomalgFunctor(
[ "name", "DirectSum" ],
[ "category", HOMALG_MODULES.category ],
Expand Down

0 comments on commit 774f5aa

Please sign in to comment.