Skip to content

Commit f014407

Browse files
committed
the category of parametrised maps is not linear
1 parent 9a7c93d commit f014407

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "MachineLearningForCAP",
1212
Subtitle := "Exploring categorical machine learning in CAP",
13-
Version := "2024.07-13",
13+
Version := "2024.07-15",
1414
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)( ),
1515
License := "GPL-2.0-or-later",
1616

gap/CategoryOfParametrisedMorphisms.gi

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ InstallMethod( CategoryOfParametrisedMorphisms,
2626
IsCapCategoryTwoCell
2727
: overhead := false );
2828

29-
SetIsLinearCategoryOverCommutativeRing( Para, true );
30-
31-
SetCommutativeRingOfLinearCategory( Para, CommutativeRingOfLinearCategory( C ) );
32-
3329
SetUnderlyingCategory( Para, C );
3430

3531
## Adding Operations
@@ -181,20 +177,7 @@ InstallMethod( CategoryOfParametrisedMorphisms,
181177

182178
end );
183179

184-
AddMultiplyWithElementOfCommutativeRingForMorphisms( Para,
185-
186-
function ( Para, a, f )
187-
local C;
188-
189-
C := UnderlyingCategory( Para );
190-
191-
return MorphismConstructor( Para,
192-
Source( f ),
193-
Pair( UnderlyingObject( f ), MultiplyWithElementOfCommutativeRingForMorphisms( C, a, UnderlyingMorphism( f ) ) ),
194-
Target( f ) );
195-
196-
end );
197-
180+
##
198181
AddSimplifyMorphism( Para,
199182

200183
function ( Para, f, n )

0 commit comments

Comments
 (0)