Skip to content

Commit 21d31ad

Browse files
comply with Toposes v2021.11-13
1 parent c98b767 commit 21d31ad

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

PackageInfo.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "FinSetsForCAP",
1212
Subtitle := "The elementary topos of (skeletal) finite sets",
13-
Version := "2020.11-13",
13+
Version := "2020.11-14",
1414

1515
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
1616
License := "GPL-2.0-or-later",
@@ -100,7 +100,7 @@ Dependencies := rec(
100100
NeededOtherPackages := [
101101
[ "GAPDoc", ">= 1.5" ],
102102
[ "CAP", ">= 2021.05-02" ],
103-
[ "Toposes", ">= 2021.11-11" ],
103+
[ "Toposes", ">= 2021.11-13" ],
104104
],
105105
SuggestedOtherPackages := [ ],
106106
ExternalConditions := [ ],

examples/Topos.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ P := FinSet( [ "*" ] );;
4545
Q := FinSet( [ "§", "&" ] );;
4646
CartesianPreComposeMorphism( M, N, P );;
4747
CartesianPostComposeMorphism( M, N, P );;
48-
DirectProductExponentialCompatibilityMorphism( M, N, P, Q );;
48+
DirectProductExponentialCompatibilityMorphism( [ M, N, P, Q ] );;
4949

5050
#! @EndExample

gap/FinSetsForCAP.gi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -970,13 +970,13 @@ end );
970970

971971
##
972972
AddDirectProductExponentialCompatibilityMorphismWithGivenObjects( category_of_finite_sets,
973-
function ( category_of_finite_sets, S1, T1, S2, T2, L )
973+
function ( category_of_finite_sets, source, L, range )
974974
local S1S2, T1T2;
975975

976-
S1S2 := DirectProduct( S1, S2 );
977-
T1T2 := DirectProduct( T1, T2 );
976+
S1S2 := DirectProduct( L{[ 1, 3 ]} );
977+
T1T2 := DirectProduct( L{[ 2, 4 ]} );
978978

979-
return MapOfFinSetsNC( L[1], List( L[1], fg -> [ fg, DirectProductOnMorphismsWithGivenDirectProducts( S1S2, fg[1], fg[2], T1T2 ) ] ), L[2] );
979+
return MapOfFinSetsNC( source, List( source, fg -> [ fg, DirectProductOnMorphismsWithGivenDirectProducts( S1S2, fg[1], fg[2], T1T2 ) ] ), range );
980980

981981
end );
982982

0 commit comments

Comments
 (0)