Skip to content

Commit 774f5aa

Browse files
Merge pull request #621 from fingolfin/mh/InstallValue
Avoid using InstallValue on non-plain objects
2 parents cd8c5ad + a77cac3 commit 774f5aa

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

GradedModules/gap/Tate.gd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ DeclareGlobalFunction( "_Functor_TateResolution_OnGradedModules" );
1616

1717
DeclareGlobalFunction( "_Functor_TateResolution_OnGradedMaps" );
1818

19-
DeclareGlobalVariable( "Functor_TateResolution_ForGradedModules" );
20-
2119
DeclareGlobalFunction( "_Functor_LinearStrandOfTateResolution_OnGradedModules" );
2220

2321
DeclareGlobalFunction( "_Functor_LinearStrandOfTateResolution_OnGradedMaps" );
2422

25-
DeclareGlobalVariable( "Functor_LinearStrandOfTateResolution_ForGradedModules" );
26-
2723

2824
# basic operations:
2925

GradedModules/gap/Tate.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ InstallGlobalFunction( _Functor_TateResolution_OnGradedMaps, ### defines: TateRe
440440

441441
end );
442442

443-
InstallValue( Functor_TateResolution_ForGradedModules,
443+
BindGlobal( "Functor_TateResolution_ForGradedModules",
444444
CreateHomalgFunctor(
445445
[ "name", "TateResolution" ],
446446
[ "category", HOMALG_GRADED_MODULES.category ],
@@ -879,7 +879,7 @@ InstallMethod( LinearStrandOfTateResolution,
879879

880880
end );
881881

882-
InstallValue( Functor_LinearStrandOfTateResolution_ForGradedModules,
882+
BindGlobal( "Functor_LinearStrandOfTateResolution_ForGradedModules",
883883
CreateHomalgFunctor(
884884
[ "name", "LinearStrandOfTateResolution" ],
885885
[ "category", HOMALG_GRADED_MODULES.category ],

Modules/gap/OtherFunctors.gd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ DeclareGlobalFunction( "_Functor_DirectSum_OnModules" );
1717

1818
DeclareGlobalFunction( "_Functor_DirectSum_OnMaps" );
1919

20-
DeclareGlobalVariable( "Functor_DirectSum_for_fp_modules" );
21-
2220
####################################
2321
#
2422
# temporary

Modules/gap/OtherFunctors.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ InstallGlobalFunction( _Functor_DirectSum_OnMaps, ### defines: DirectSum (morphi
134134

135135
end );
136136

137-
InstallValue( Functor_DirectSum_for_fp_modules,
137+
BindGlobal( "Functor_DirectSum_for_fp_modules",
138138
CreateHomalgFunctor(
139139
[ "name", "DirectSum" ],
140140
[ "category", HOMALG_MODULES.category ],

0 commit comments

Comments
 (0)