Skip to content

Commit ce30f40

Browse files
the single argument operation Category is not an attribute anymore
1 parent 8eacf64 commit ce30f40

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SetPackageInfo( rec(
1111
PackageName := "Algebroids",
1212
Subtitle := "Algebroids and bialgebroids as preadditive categories generated by enhanced quivers",
1313
Version := Maximum( [
14-
"2020.10-10", ## Mohamed's version
14+
"2020.10-11", ## Mohamed's version
1515
## this line prevents merge conflicts
1616
"2020.09-08", ## Kamal's version
1717
## this line prevents merge conflicts

gap/FpCategories.gd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,9 @@ DeclareGlobalFunction( "ADD_FUNCTIONS_FOR_HOM_STRUCTURE_OF_FP_CATEGORY" );
275275

276276
DeclareGlobalFunction( "ADD_FUNCTIONS_FOR_RANDOM_METHODS_OF_FP_CATEGORY" );
277277

278-
DeclareAttribute( "Category",
279-
IsQuiverAlgebra );
278+
# do not turn this into an attribute:
279+
DeclareOperation( "Category",
280+
[ IsQuiverAlgebra ] );
280281

281282
DeclareOperation( "Category",
282283
[ IsPathAlgebra, IsList ] );
@@ -287,8 +288,8 @@ DeclareOperation( "Category",
287288
#! @Arguments q
288289
#! @Returns a ∩ category
289290
#! @Group FpCategory
290-
DeclareAttribute( "Category",
291-
IsQuiver );
291+
DeclareOperation( "Category",
292+
[ IsQuiver ] );
292293

293294
#! @Arguments q, L
294295
#! @Group FpCategory

gap/FpCategories.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ InstallMethod( Category,
429429
end );
430430

431431
##
432-
InstallMethod( Category,
432+
InstallMethodWithCache( Category,
433433
"for a QPA quiver",
434434
[ IsQuiver ],
435435

0 commit comments

Comments
 (0)