Skip to content

Commit

Permalink
Merge pull request #1682 from zickgraf/master
Browse files Browse the repository at this point in the history
Use convenience functions at two places
  • Loading branch information
zickgraf authored Sep 18, 2024
2 parents 5236a2f + b939f62 commit 97e301a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CAP/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "CAP",
Subtitle := "Categories, Algorithms, Programming",
Version := "2024.09-17",
Version := "2024.09-18",
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
4 changes: 2 additions & 2 deletions CAP/gap/CategoryTwoCells.gi
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ InstallGlobalFunction( CreateCapCategoryTwoCellWithAttributes,
local arg_list;

arg_list := Concatenation(
[ rec( ), category!.two_cell_type, CapCategory, category, Source, source, Range, range ], additional_arguments_list
[ category!.two_cell_type, CapCategory, category, Source, source, Range, range ], additional_arguments_list
);

return CallFuncList( ObjectifyWithAttributes, arg_list );
return CallFuncList( CreateGapObjectWithAttributes, arg_list );

end );
2 changes: 1 addition & 1 deletion CAP/gap/ToolsForCategories.gi
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ InstallGlobalFunction( "CAP_INTERNAL_GET_DATA_TYPE_FROM_STRING", function ( stri
elif string = "list_of_integers_and_list_of_morphisms" then

return CapJitDataTypeOfNTupleOf( 2,
CapJitDataTypeOfListOf( rec( filter := IsInt ) ),
CapJitDataTypeOfListOf( IsInt ),
CapJitDataTypeOfListOf( CapJitDataTypeOfMorphismOfCategory( category ) ) );

elif string = "arbitrary_list" then
Expand Down

0 comments on commit 97e301a

Please sign in to comment.