Skip to content

Commit

Permalink
Merge pull request #589 from mohamed-barakat/devel
Browse files Browse the repository at this point in the history
ListImpliedFilters now includes the filter itself
  • Loading branch information
mohamed-barakat authored Jul 12, 2023
2 parents 9f042e3 + c355016 commit ad38a0e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ExamplesForHomalg/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SetPackageInfo( rec(

PackageName := "ExamplesForHomalg",
Subtitle := "Examples for the GAP Package homalg",
Version := "2023.02-04",
Version := "2023.07-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
4 changes: 2 additions & 2 deletions ExamplesForHomalg/examples/Oscar/ReducedBasisOfModule.g
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
homalgIOMode("d");

LoadPackage( "RingsForHomalg" );

homalgIOMode("d");

Qxyz := HomalgFieldOfRationalsInOscar( ) * "x,y,z";

wmat := HomalgMatrix( "[ \
Expand Down
2 changes: 1 addition & 1 deletion ToolsForHomalg/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "ToolsForHomalg",
Subtitle := "Special methods and knowledge propagation tools",
Version := "2023.05-01",
Version := "2023.07-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
3 changes: 2 additions & 1 deletion ToolsForHomalg/gap/ToolsForHomalg.gd
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,8 @@ DeclareGlobalFunction( "StopTimer" );
DeclareGlobalFunction( "DisplayTimer" );

#! @Description
#! List the all filters implied by filter <A>filt</A>.
#! The input is a filter <A>filt</A>.
#! The output is the list of all filters implied by <A>filt</A>, including <A>filt</A> itself.
#! @Arguments filt
DeclareGlobalFunction( "ListImpliedFilters" );

Expand Down
2 changes: 1 addition & 1 deletion ToolsForHomalg/gap/ToolsForHomalg.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2737,7 +2737,7 @@ InstallGlobalFunction( ListImpliedFilters,
od;
end;

list := [ ];
list := [ NamesFilter( filter )[1] ];

if SIZE_FLAGS(implied) > 0 then
Append( list, NamesFilter( reduced( TRUES_FLAGS( implied ) ) ) );
Expand Down

0 comments on commit ad38a0e

Please sign in to comment.