Skip to content

Commit

Permalink
Merge pull request #122 from zickgraf/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalsaleh authored Jan 10, 2023
2 parents b6284c3 + 70a3d70 commit b6b8cd3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 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 := "2022.12-05",
Version := "2023.01-01",
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
License := "GPL-2.0-or-later",

Expand Down
4 changes: 2 additions & 2 deletions ComplexesCategories/gap/Categories.gi
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ InstallMethod( ComplexesCategoryByCochains,

type := info.filter_list[j];

if type = IsInt then
if type = "integer" then
return Concatenation( "i_arg[", String( j ), "]" );
elif type = "object" then
return Concatenation( "ObjectAt( i_arg[", String( j ), "], i )" );
Expand All @@ -403,7 +403,7 @@ InstallMethod( ComplexesCategoryByCochains,
elif type = "list_of_morphisms" then
return Concatenation( "List( i_arg[", String( j ), "], m -> MorphismAt( m, i ) )" );
else
Error( "can only deal with IsInt, \"object\", \"morphism\", \"list_of_objects\", \"list_of_morphisms\"" );
Error( "can only deal with \"integer\", \"object\", \"morphism\", \"list_of_objects\", \"list_of_morphisms\"" );
fi;

end ) ) );
Expand Down
2 changes: 1 addition & 1 deletion QuotientCategories/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "QuotientCategories",
Subtitle := "Quotient categories of CAP categories by two-sided ideals",
Version := "2022.12-01",
Version := "2023.01-01",
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
License := "GPL-2.0-or-later",

Expand Down
4 changes: 2 additions & 2 deletions QuotientCategories/gap/QuotientCategories.gi
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,14 @@ InstallMethod( QuotientCategory,

type := info.filter_list[j];

if type = IsInt then
if type = "integer" then
return Concatenation( "i_arg[", String( j ), "]" );
elif type in [ "object", "morphism" ] then
return Concatenation( "UnderlyingCell( i_arg[", String( j ), "] )" );
elif type in [ "list_of_objects", "list_of_morphisms" ] then
return Concatenation( "List( i_arg[", String( j ), "], UnderlyingCell )" );
else
Error( "can only deal with IsInt, \"object\", \"morphism\", \"list_of_objects\", \"list_of_morphisms\"" );
Error( "can only deal with \"integer\", \"object\", \"morphism\", \"list_of_objects\", \"list_of_morphisms\"" );
fi;

end ) ) );
Expand Down
2 changes: 1 addition & 1 deletion TriangulatedCategories/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "TriangulatedCategories",
Subtitle := "Framework for triangulated categories",
Version := "2022.12-01",
Version := "2023.01-01",
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
License := "GPL-2.0-or-later",

Expand Down
6 changes: 3 additions & 3 deletions TriangulatedCategories/gap/MethodRecord.gi
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ InverseShiftOfMorphismWithGivenObjects := rec(
),

ShiftOfObjectByInteger := rec(
filter_list := [ "category", "object", IsInt ],
filter_list := [ "category", "object", "integer" ],
return_type := "object"
),

ShiftOfMorphismByIntegerWithGivenObjects := rec(
filter_list := [ "category", "object", "morphism", IsInt, "object" ],
filter_list := [ "category", "object", "morphism", "integer", "object" ],
return_type := "morphism"
),

ShiftOfMorphismByInteger := rec(
filter_list := [ "category", "morphism", IsInt ],
filter_list := [ "category", "morphism", "integer" ],
return_type := "morphism"
),

Expand Down

0 comments on commit b6b8cd3

Please sign in to comment.