Skip to content

Commit

Permalink
Merge pull request #582 from mohamed-barakat/IsSpecializationOfFilter
Browse files Browse the repository at this point in the history
replace b in ListImpliedFilters( a ) -> IsSpecializationOfFilter( b, a )
  • Loading branch information
mohamed-barakat authored Sep 18, 2024
2 parents 3cef36c + ed7c5e3 commit a3da0f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LazyCategories/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "LazyCategories",
Subtitle := "Construct an equivalent lazy category out of a CAP category",
Version := "2024.09-03",
Version := "2024.09-04",
Date := ~.Version{[ 1 .. 10 ]},
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: 1 addition & 1 deletion LazyCategories/gap/LazyCategory.gi
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ InstallMethod( LazyCategory,
properties := ListKnownCategoricalProperties( C );

ignore := [ "IsSkeletalCategory" ];
Append( ignore, Filtered( properties, p -> "IsSkeletalCategory" in ListImpliedFilters( FilterByName( p ) ) ) );
Append( ignore, Filtered( properties, p -> IsSpecializationOfFilter( IsSkeletalCategory, FilterByName( p ) ) ) );
Append( ignore, Filtered( properties, p -> IsInt( PositionSublist( p, "Strict" ) ) ) );
Append( ignore, Filtered( properties, p -> ForAny( ListImpliedFilters( FilterByName( p ) ), i -> IsInt( PositionSublist( i, "Strict" ) ) ) ) );

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

PackageName := "ToolsForCategoricalTowers",
Subtitle := "Tools for CategoricalTowers",
Version := "2024.09-04",
Version := "2024.09-05",

Date := ~.Version{[ 1 .. 10 ]},
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)( ),
Expand Down
4 changes: 2 additions & 2 deletions ToolsForCategoricalTowers/gap/Tools.gi
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ InstallMethod( DummyCategoryInDoctrines,

bool := IsSubset( ListMethodsOfDoctrine( a ), ListMethodsOfDoctrine( b ) );

if minimal = true and IsBoundGlobal( a ) then
return ( b in ListImpliedFilters( ValueGlobal( a ) ) ) or bool;
if minimal = true and IsBoundGlobal( a ) and IsBoundGlobal( b ) then
return IsSpecializationOfFilter( ValueGlobal( b ), ValueGlobal( a ) ) or bool;
else
return bool;
fi;
Expand Down

0 comments on commit a3da0f6

Please sign in to comment.