Skip to content

Commit

Permalink
Merge pull request #1671 from zickgraf/AdelmanCategory
Browse files Browse the repository at this point in the history
Compute IsProjective if it is cheap to do so in AdelmanCategory
  • Loading branch information
zickgraf authored Sep 11, 2024
2 parents be1c838 + 9250655 commit 8cd8299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FreydCategoriesForCAP/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "FreydCategoriesForCAP",
Subtitle := "Freyd categories - Formal (co)kernels for additive categories",
Version := "2024.09-04",
Version := "2024.09-05",
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 FreydCategoriesForCAP/gap/AdelmanCategory.gi
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ InstallGlobalFunction( INSTALL_FUNCTIONS_FOR_ADELMAN_CATEGORY,

if HasIsAbelianCategory( range_category ) and
IsAbelianCategory( range_category ) and
HasIsProjective( underlying_distinguished_object ) and
(HasIsProjective( underlying_distinguished_object ) or CurrentOperationWeight( range_category!.derivations_weight_list, "IsProjective" ) <= 50) and
IsProjective( underlying_distinguished_object ) then

SetRangeCategoryOfHomomorphismStructure( category, range_category );
Expand Down

0 comments on commit 8cd8299

Please sign in to comment.