Skip to content

Commit

Permalink
Merge pull request #1440 from zickgraf/master
Browse files Browse the repository at this point in the history
Include first morphism in check in prefunctions for (Co)Equalizer
  • Loading branch information
zickgraf authored Aug 21, 2023
2 parents 94f4395 + 9d6f54c commit 39f43d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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 := "2023.08-13",
Version := "2023.08-14",
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
8 changes: 4 additions & 4 deletions CAP/gap/MethodRecord.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ Equalizer := rec(

fi;

for current_morphism in diagram{[ 2 .. Length( diagram ) ]} do
for current_morphism in diagram{[ 1 .. Length( diagram ) ]} do

if not IsEqualForObjects( cat, Source( current_morphism ), cobase ) then
return [ false, "the given morphisms of the equalizer diagram must have equal sources" ];
Expand Down Expand Up @@ -1666,7 +1666,7 @@ UniversalMorphismIntoEqualizer := rec(

fi;

for current_morphism in diagram{[ 2 .. Length( diagram ) ]} do
for current_morphism in diagram{[ 1 .. Length( diagram ) ]} do

if not IsEqualForObjects( cat, Source( current_morphism ), cobase ) then
return [ false, "the given morphisms of the equalizer diagram must have equal sources" ];
Expand Down Expand Up @@ -2004,7 +2004,7 @@ Coequalizer := rec(

od;

for current_morphism in diagram{[ 2 .. Length( diagram ) ]} do
for current_morphism in diagram{[ 1 .. Length( diagram ) ]} do

if not IsEqualForObjects( cat, Range( current_morphism ), cobase ) then
return [ false, "the given morphisms of the coequalizer diagram must have equal ranges" ];
Expand Down Expand Up @@ -2094,7 +2094,7 @@ UniversalMorphismFromCoequalizer := rec(

od;

for current_morphism in diagram{[ 2 .. Length( diagram ) ]} do
for current_morphism in diagram{[ 1 .. Length( diagram ) ]} do

if not IsEqualForObjects( cat, Range( current_morphism ), cobase ) then
return [ false, "the given morphisms of the coequalizer diagram must have equal ranges" ];
Expand Down

0 comments on commit 39f43d3

Please sign in to comment.