File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ SetPackageInfo( rec(
11
11
PackageName := " Algebroids" ,
12
12
Subtitle := " Algebroids and bialgebroids as preadditive categories generated by enhanced quivers" ,
13
13
Version := Maximum( [
14
- " 2020.10-06 " , # # Mohamed's version
14
+ " 2020.10-07 " , # # Mohamed's version
15
15
# # this line prevents merge conflicts
16
16
" 2020.09-08" , # # Kamal's version
17
17
# # this line prevents merge conflicts
Original file line number Diff line number Diff line change @@ -1279,7 +1279,7 @@ InstallMethod( POW,
1279
1279
[ IsAlgebroid and HasUnderlyingQuiverAlgebra, IsInt ] ,
1280
1280
1281
1281
function ( A, n )
1282
- local Rq, R, trivial_quiver ;
1282
+ local Rq, R, parity ;
1283
1283
1284
1284
if n < 0 then
1285
1285
Error( " the only admissible values for n are non-negative integers\n " );
@@ -1298,12 +1298,12 @@ InstallMethod( POW,
1298
1298
if not IsBound ( A!. powers.0 ) then
1299
1299
1300
1300
if IsRightQuiverAlgebra( Rq ) then
1301
- trivial_quiver := RightQuiver( " *(1)[] " ) ;
1301
+ parity := " right " ;
1302
1302
else
1303
- trivial_quiver := LeftQuiver( " *(1)[] " ) ;
1303
+ parity := " left " ;
1304
1304
fi ;
1305
1305
1306
- A!. powers.0 := Algebroid( PathAlgebra( R, trivial_quiver ) );
1306
+ A!. powers.0 := TrivialAlgebroid( R, parity );
1307
1307
1308
1308
fi ;
1309
1309
Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ InstallMethod( POW,
662
662
[ IsFpCategory and HasUnderlyingQuiverAlgebra, IsInt ] ,
663
663
664
664
function ( C, n )
665
- local Qq, R, trivial_quiver ;
665
+ local Qq, R, parity ;
666
666
667
667
if n < 0 then
668
668
Error( " the only admissible values for n are non-negative integers\n " );
@@ -681,12 +681,12 @@ InstallMethod( POW,
681
681
if not IsBound ( C!. powers.0 ) then
682
682
683
683
if IsRightQuiverAlgebra( Qq ) then
684
- trivial_quiver := RightQuiver( " *(1)[] " ) ;
684
+ parity := " right " ;
685
685
else
686
- trivial_quiver := LeftQuiver( " *(1)[] " ) ;
686
+ parity := " left " ;
687
687
fi ;
688
688
689
- C!. powers.0 := Category( PathAlgebra( R, trivial_quiver ) );
689
+ C!. powers.0 := TrivialCategory( parity );
690
690
691
691
fi ;
692
692
You can’t perform that action at this time.
0 commit comments