Skip to content

Commit 36f1743

Browse files
Update for gaplint 1.2.0
1 parent 3e01374 commit 36f1743

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gap/digraph.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ end);
16351635
InstallMethod(RandomDigraphCons,
16361636
"for IsStronglyConnectedDigraph, a positive integer, and a float",
16371637
[IsStronglyConnectedDigraph, IsPosInt, IsFloat],
1638-
function(filt, n, p)
1638+
function(_, n, p)
16391639
local d, adjMatrix, stronglyConnectedComponents,
16401640
scc_a, scc_b, i, random_u, random_v;
16411641

tst/standard/oper.tst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ gap> res := DigraphCycleBasis(D);
28592859
[ <a GF2 vector of length 10>, <a GF2 vector of length 10>,
28602860
<a GF2 vector of length 10>, <a GF2 vector of length 10>,
28612861
<a GF2 vector of length 10>, <a GF2 vector of length 10> ] ]
2862-
gap> List(res[2], x -> List(x));
2862+
gap> List(res[2], List);
28632863
[ [ Z(2)^0, 0*Z(2), 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2),
28642864
0*Z(2) ],
28652865
[ 0*Z(2), Z(2)^0, 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0,
@@ -2883,7 +2883,7 @@ gap> res := DigraphCycleBasis(D);
28832883
[ [ [ 6 ], [ 1, 3, 6 ], [ ], [ 5, 6 ], [ 2, 3, 6 ], [ ] ],
28842884
[ <a GF2 vector of length 9>, <a GF2 vector of length 9>,
28852885
<a GF2 vector of length 9>, <a GF2 vector of length 9> ] ]
2886-
gap> List(res[2], x -> List(x));
2886+
gap> List(res[2], List);
28872887
[ [ Z(2)^0, Z(2)^0, 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2) ],
28882888
[ 0*Z(2), 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0, Z(2)^0, 0*Z(2) ],
28892889
[ Z(2)^0, Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0, 0*Z(2), Z(2)^0 ],
@@ -2893,7 +2893,7 @@ gap> D := DigraphDisjointUnion(CycleGraph(3), CycleGraph(4));
28932893
gap> res := DigraphCycleBasis(D);
28942894
[ [ [ 2, 3 ], [ 3 ], [ ], [ 5, 7 ], [ 6 ], [ 7 ], [ ] ],
28952895
[ <a GF2 vector of length 7>, <a GF2 vector of length 7> ] ]
2896-
gap> List(res[2], x -> List(x));
2896+
gap> List(res[2], List);
28972897
[ [ Z(2)^0, Z(2)^0, Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2) ],
28982898
[ 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0, Z(2)^0, Z(2)^0, Z(2)^0 ] ]
28992899

0 commit comments

Comments
 (0)