Skip to content

Commit

Permalink
Avoid using InstallValue on non-plain objects
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Dec 20, 2024
1 parent cd8c5ad commit 53beb1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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

0 comments on commit 53beb1a

Please sign in to comment.