Skip to content

Commit

Permalink
comply with CAP V2023.08-09
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalsaleh committed Aug 16, 2023
1 parent 6570b97 commit c4045ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ComplexesCategories/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "ComplexesCategories",
Subtitle := "Category of (co)chain complexes of an additive category",
Version := "2023.07-02",
Version := "2023.08-01",
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
License := "GPL-2.0-or-later",

Expand Down Expand Up @@ -74,7 +74,7 @@ PackageDoc := rec(
Dependencies := rec(
GAP := ">= 4.12.1",
NeededOtherPackages := [ [ "AutoDoc", ">= 2019.09.04" ],
[ "CAP", ">= 2023.05-03" ],
[ "CAP", ">= 2023.08-09" ],
[ "ToolsForHigherHomologicalAlgebra", ">= 2022.12-05" ],
[ "PreSheaves", ">= 2023.05-03" ],
],
Expand Down
2 changes: 2 additions & 0 deletions ComplexesCategories/gap/Categories.gi
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ InstallGlobalFunction( COMPLEXES_CATEGORY_BY_COCHAINS_AS_TOWER,
return Concatenation( "List( i_arg[", String( j ), "], m -> MorphismDatum( cat, m ) )" );
elif type = "pair_of_morphisms" then
return Concatenation( "Pair( ", "MorphismDatum( cat, i_arg[", String( j ), "][1] )", ", MorphismDatum( cat, i_arg[", String( j ), "][2] )", " )" );
elif type = "list_of_lists_of_morphisms" then
return Concatenation( "List( i_arg[", String( j ), "], x -> List( x, y -> MorphismDatum( cat, y ) ) )" );
else
Error( "can only deal with 'integer', 'object', 'morphism', 'list_of_objects', 'list_of_morphisms', 'pair_of_morphisms'" );
fi;
Expand Down

0 comments on commit c4045ee

Please sign in to comment.