Skip to content

Commit

Permalink
minor linting and documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed Mar 1, 2017
1 parent 6ec2e5c commit 995ab74
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gaplint_ignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
NC
DIGRAPHS_
IO_
OutNeighboursCopy
OutNeighborsCopy
DigraphNrVertices
2 changes: 1 addition & 1 deletion doc/io.xml
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ gap> ReadPlainTextDigraph(filename, ",", 1, ['/','%']);
<C>WriteDIMACSDigraph</C> records the vertices and edges of <A>digraph</A>.
The vertex labels of <A>digraph</A> will be recorded only if they are
integers. See <Ref Prop="IsSymmetricDigraph"/> and <Ref
Attr="DigraphVertexLabels"/>.<P/>
Oper="DigraphVertexLabels"/>.<P/>

The first argument <A>filename</A> should be the name of the file which will
be written to or read from. A file can contain one symmetric digraph in
Expand Down
4 changes: 2 additions & 2 deletions tst/standard/bliss.tst
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ gap> DigraphCanonicalLabelling(G, [1, 1, 1, 1, 1, 2, 2, 2, 2, 2]);
#T# AutomorphismGroup: for a digraph with colored vertices
gap> gr := CompleteBipartiteDigraph(4, 4);
<digraph with 8 vertices, 32 edges>
gap> AutomorphismGroup(gr) =
> Group([(7,8), (6,7), (5,6), (3,4), (2,3), (1,2), (1,5)(2,6)(3,7)(4,8)]);
gap> AutomorphismGroup(gr) = Group([
> (7, 8), (6, 7), (5, 6), (3, 4), (2, 3), (1, 2), (1, 5)(2, 6)(3, 7)(4, 8)]);
true
gap> AutomorphismGroup(gr, [[1 .. 4], [5 .. 8]]);
Group([ (7,8), (6,7), (5,6), (3,4), (2,3), (1,2) ])
Expand Down
8 changes: 4 additions & 4 deletions tst/standard/digraph.tst
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ gap> gr := CycleDigraph(1);
gap> AutomorphismGroup(gr) = Group(());
true
gap> gr := CycleDigraph(6);;
gap> AutomorphismGroup(gr) = Group((1,2,3,4,5,6));
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4, 5, 6));
true
gap> DigraphEdges(gr);
[ [ 1, 2 ], [ 2, 3 ], [ 3, 4 ], [ 4, 5 ], [ 5, 6 ], [ 6, 1 ] ]
Expand Down Expand Up @@ -722,7 +722,7 @@ Error, no 1st choice method found for `CompleteBipartiteDigraph' on 2 argument\
s
gap> gr := CompleteBipartiteDigraph(4, 3);
<digraph with 7 vertices, 24 edges>
gap> AutomorphismGroup(gr) = Group((1,2,3,4), (1,2), (5,6,7), (5,6));
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4), (1, 2), (5, 6, 7), (5, 6));
true
gap> DigraphEdges(gr);
[ [ 1, 5 ], [ 1, 6 ], [ 1, 7 ], [ 2, 5 ], [ 2, 6 ], [ 2, 7 ], [ 3, 5 ],
Expand All @@ -731,8 +731,8 @@ gap> DigraphEdges(gr);
[ 7, 2 ], [ 7, 3 ], [ 7, 4 ] ]
gap> gr := CompleteBipartiteDigraph(4, 4);
<digraph with 8 vertices, 32 edges>
gap> AutomorphismGroup(gr) = Group((1,2,3,4), (1,2), (5,6,7,8), (5,6),
> (1,5)(2,6)(3,7)(4,8));
gap> AutomorphismGroup(gr) = Group((1, 2, 3, 4), (1, 2), (5, 6, 7, 8), (5, 6),
> (1, 5)(2, 6)(3, 7)(4, 8));
true

#T# Equals (\=) for two digraphs
Expand Down
4 changes: 2 additions & 2 deletions tst/testinstall.tst
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ gap> OutNeighbours(OnDigraphs(d, Transformation([2, 3, 1])));
#T# Issue 42: Bug in AsDigraph for a transformation and an integer
gap> f := Transformation([7, 10, 10, 1, 7, 9, 10, 4, 2, 3]);
Transformation( [ 7, 10, 10, 1, 7, 9, 10, 4, 2, 3 ] )
gap> AsDigraph(f);
gap> AsDigraph(f);
<digraph with 10 vertices, 10 edges>
gap> AsDigraph(f, 4);
gap> AsDigraph(f, 4);
fail

#T# DIGRAPHS_UnbindVariables
Expand Down

0 comments on commit 995ab74

Please sign in to comment.