Skip to content

Commit 995ab74

Browse files
committed
minor linting and documentation fixes
1 parent 6ec2e5c commit 995ab74

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.gaplint_ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
NC
22
DIGRAPHS_
3+
IO_
34
OutNeighboursCopy
45
OutNeighborsCopy
56
DigraphNrVertices

doc/io.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ gap> ReadPlainTextDigraph(filename, ",", 1, ['/','%']);
536536
<C>WriteDIMACSDigraph</C> records the vertices and edges of <A>digraph</A>.
537537
The vertex labels of <A>digraph</A> will be recorded only if they are
538538
integers. See <Ref Prop="IsSymmetricDigraph"/> and <Ref
539-
Attr="DigraphVertexLabels"/>.<P/>
539+
Oper="DigraphVertexLabels"/>.<P/>
540540

541541
The first argument <A>filename</A> should be the name of the file which will
542542
be written to or read from. A file can contain one symmetric digraph in

tst/standard/bliss.tst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ gap> DigraphCanonicalLabelling(G, [1, 1, 1, 1, 1, 2, 2, 2, 2, 2]);
333333
#T# AutomorphismGroup: for a digraph with colored vertices
334334
gap> gr := CompleteBipartiteDigraph(4, 4);
335335
<digraph with 8 vertices, 32 edges>
336-
gap> AutomorphismGroup(gr) =
337-
> Group([(7,8), (6,7), (5,6), (3,4), (2,3), (1,2), (1,5)(2,6)(3,7)(4,8)]);
336+
gap> AutomorphismGroup(gr) = Group([
337+
> (7, 8), (6, 7), (5, 6), (3, 4), (2, 3), (1, 2), (1, 5)(2, 6)(3, 7)(4, 8)]);
338338
true
339339
gap> AutomorphismGroup(gr, [[1 .. 4], [5 .. 8]]);
340340
Group([ (7,8), (6,7), (5,6), (3,4), (2,3), (1,2) ])

tst/standard/digraph.tst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ gap> gr := CycleDigraph(1);
673673
gap> AutomorphismGroup(gr) = Group(());
674674
true
675675
gap> gr := CycleDigraph(6);;
676-
gap> AutomorphismGroup(gr) = Group((1,2,3,4,5,6));
676+
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4, 5, 6));
677677
true
678678
gap> DigraphEdges(gr);
679679
[ [ 1, 2 ], [ 2, 3 ], [ 3, 4 ], [ 4, 5 ], [ 5, 6 ], [ 6, 1 ] ]
@@ -722,7 +722,7 @@ Error, no 1st choice method found for `CompleteBipartiteDigraph' on 2 argument\
722722
s
723723
gap> gr := CompleteBipartiteDigraph(4, 3);
724724
<digraph with 7 vertices, 24 edges>
725-
gap> AutomorphismGroup(gr) = Group((1,2,3,4), (1,2), (5,6,7), (5,6));
725+
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4), (1, 2), (5, 6, 7), (5, 6));
726726
true
727727
gap> DigraphEdges(gr);
728728
[ [ 1, 5 ], [ 1, 6 ], [ 1, 7 ], [ 2, 5 ], [ 2, 6 ], [ 2, 7 ], [ 3, 5 ],
@@ -731,8 +731,8 @@ gap> DigraphEdges(gr);
731731
[ 7, 2 ], [ 7, 3 ], [ 7, 4 ] ]
732732
gap> gr := CompleteBipartiteDigraph(4, 4);
733733
<digraph with 8 vertices, 32 edges>
734-
gap> AutomorphismGroup(gr) = Group((1,2,3,4), (1,2), (5,6,7,8), (5,6),
735-
> (1,5)(2,6)(3,7)(4,8));
734+
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4), (1, 2), (5, 6, 7, 8), (5, 6),
735+
> (1, 5)(2, 6)(3, 7)(4, 8));
736736
true
737737

738738
#T# Equals (\=) for two digraphs

tst/testinstall.tst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ gap> OutNeighbours(OnDigraphs(d, Transformation([2, 3, 1])));
266266
#T# Issue 42: Bug in AsDigraph for a transformation and an integer
267267
gap> f := Transformation([7, 10, 10, 1, 7, 9, 10, 4, 2, 3]);
268268
Transformation( [ 7, 10, 10, 1, 7, 9, 10, 4, 2, 3 ] )
269-
gap> AsDigraph(f);
269+
gap> AsDigraph(f);
270270
<digraph with 10 vertices, 10 edges>
271-
gap> AsDigraph(f, 4);
271+
gap> AsDigraph(f, 4);
272272
fail
273273

274274
#T# DIGRAPHS_UnbindVariables

0 commit comments

Comments
 (0)