Skip to content

Commit

Permalink
Merge pull request #260 from zickgraf/master
Browse files Browse the repository at this point in the history
Add "overhead" argument to SkeletalCategoryOfFiniteSets
  • Loading branch information
zickgraf authored Aug 23, 2024
2 parents fbe577f + b658d29 commit f391737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "FinSetsForCAP",
Subtitle := "The elementary topos of (skeletal) finite sets",
Version := "2024.07-03",
Version := "2024.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
2 changes: 2 additions & 0 deletions gap/SkeletalFinSets.gi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ InstallMethod( SkeletalCategoryOfFiniteSets,
FunctionWithNamedArguments(
[
[ "no_precompiled_code", false ],
[ "overhead", true ],
],
function ( CAP_NAMED_ARGUMENTS )
local cat;
Expand All @@ -19,6 +20,7 @@ InstallMethod( SkeletalCategoryOfFiniteSets,
"SkeletalFinSets", IsSkeletalCategoryOfFiniteSets,
IsObjectInSkeletalCategoryOfFiniteSets, IsMorphismInSkeletalCategoryOfFiniteSets, IsCapCategoryTwoCell,
IsBigInt, CapJitDataTypeOfListOf( IsBigInt ), fail
: overhead := CAP_NAMED_ARGUMENTS.overhead
);

cat!.category_as_first_argument := true;
Expand Down

0 comments on commit f391737

Please sign in to comment.