Skip to content

Commit 0f35ebc

Browse files
fingolfinjames-d-mitchell
authored andcommitted
Fix some typos found by codespell
1 parent 2c04696 commit 0f35ebc

File tree

19 files changed

+38
-38
lines changed

19 files changed

+38
-38
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ This is a minor release that fixes several bugs:
310310
This is a minor release of the Digraphs package. The main change in this
311311
release is the reintroduction of the three-argument version of
312312
`DigraphAddVertices`, which accepts a digraph, a number of vertices to add, and
313-
a list of labels for the new vertices. The removal inadvertantly broke
314-
backwards compatbility with some third-party pre-existing code that relied on
313+
a list of labels for the new vertices. The removal inadvertently broke
314+
backwards compatibility with some third-party pre-existing code that relied on
315315
this functionality in the Digraphs package (see
316316
[Issue #264](https://github.com/digraphs/Digraphs/issues/264)).
317317

doc/constructors.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ gap> LineDigraph(ChainDigraph(3));
4141
<Description>
4242
Given a symmetric digraph <A>digraph</A>, the operation returns the
4343
symmetric digraph obtained by associating a vertex with each edge of
44-
<A>digraph</A>, ignoring directions and multiplicites, and adding an edge
44+
<A>digraph</A>, ignoring directions and multiplicities, and adding an edge
4545
between two vertices if and only if the corresponding edges have a vertex in
4646
common.<P/>
4747

@@ -67,7 +67,7 @@ gap> LineUndirectedDigraph(DigraphSymmetricClosure(ChainDigraph(3)));
6767
the double digraph is the original vertex set together with a duplicate. The
6868
edges are <C>[u_1, v_2]</C> and <C>[u_2, v_1]</C> if and only if <C>[u,
6969
v]</C> is an edge in <A>digraph</A>. The resulting graph is bipartite,
70-
since the orignal edges are not included in the resulting digraph.<P/>
70+
since the original edges are not included in the resulting digraph.<P/>
7171

7272
If <A>digraph</A> is mutable, then <A>digraph</A> is modified in-place. If
7373
<A>digraph</A> is immutable, then a new immutable digraph constructed as
@@ -89,7 +89,7 @@ gap> BipartiteDoubleDigraph(gamma);
8989
<Description>
9090
Let <A>digraph</A> be a digraph with vertex set <C>V</C>. This function
9191
returns the double digraph of <A>digraph</A>. The vertex set of the double
92-
digraph is the orginal vertex set together with a duplicate. The edges are
92+
digraph is the original vertex set together with a duplicate. The edges are
9393
<C>[u_1, v_2]</C> and <C>[u_2, v_1]</C> if and only if <C>[u, v]</C> is an
9494
edge in <A>digraph</A>, together with the original edges and their
9595
duplicates.<P/>

doc/display.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ gap> FileString("dot/preset.dot", DotProrderDigraph(gr));
563563
<Oper Name="DotHighlightedDigraph" Arg="digraph, verts [, colour1, colour2]"/>
564564
<Returns>A string.</Returns>
565565
<Description>
566-
<C>DotHighlightedDigraph</C> produces a graphical represenation of the
566+
<C>DotHighlightedDigraph</C> produces a graphical representation of the
567567
digraph <A>digraph</A>, where the vertices in the list <A>verts</A>, and
568568
edges between them, are drawn with colour <A>colour1</A> and all other
569569
vertices and edges in <A>digraph</A> are drawn with colour <A>colour2</A>.

doc/isomorph.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
<ManSection>
4444
<Attr Name="BlissAutomorphismGroup" Arg="digraph" Label="for a digraph"/>
4545
<Oper Name="BlissAutomorphismGroup" Arg="digraph, vertex_colours"
46-
Label="for a digraph and homogenous list"/>
46+
Label="for a digraph and homogeneous list"/>
4747
<Oper Name="BlissAutomorphismGroup" Arg="digraph, vertex_colours, edge_colours"
48-
Label="for a digraph, homogenous list, and list"/>
48+
Label="for a digraph, homogeneous list, and list"/>
4949
<Returns>A permutation group.</Returns>
5050
<Description>
5151
If <A>digraph</A> is a digraph, then this attribute contains the group of
@@ -210,7 +210,7 @@ true]]></Example>
210210
and Petteri Kaski. If &NautyTracesInterface; is available, then &nauty; by
211211
Brendan Mckay and Adolfo Piperno can be used instead; see
212212
<Ref Attr="BlissAutomorphismGroup"
213-
Label="for a digraph and homogenous list"/>,
213+
Label="for a digraph and homogeneous list"/>,
214214
<Ref Attr="NautyAutomorphismGroup"/>, <Ref Func="DigraphsUseBliss"/>,
215215
and <Ref Func="DigraphsUseNauty"/>.
216216

@@ -298,7 +298,7 @@ true]]></Example>
298298
and Petteri Kaski. If &NautyTracesInterface; is available, then &nauty; by
299299
Brendan Mckay and Adolfo Piperno can be used instead; see
300300
<Ref Attr="BlissAutomorphismGroup"
301-
Label="for a digraph, homogenous list, and list"/>,
301+
Label="for a digraph, homogeneous list, and list"/>,
302302
<Ref Attr="NautyAutomorphismGroup"/>, <Ref Func="DigraphsUseBliss"/>, and
303303
<Ref Func="DigraphsUseNauty"/>.
304304

doc/oper.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ gap> InDegreeOfVertex(D, 4);
791791
<ManSection>
792792
<Oper Name="InNeighboursOfVertex" Arg="digraph, vertex"/>
793793
<Oper Name="InNeighborsOfVertex" Arg="digraph, vertex"/>
794-
<Returns>A list of postitive vertices.</Returns>
794+
<Returns>A list of positive vertices.</Returns>
795795
<Description>
796796

797797
This operation returns the list <C>inn</C> of vertices of the digraph
@@ -991,7 +991,7 @@ false
991991
<A>func</A>, <A>nopath</A>, and <A>edge</A>.
992992
The arguments <A>nopath</A> and <A>edge</A> can be arbitrary &GAP; objects.
993993
The argument <A>func</A> must be a function which accepts 4 arguments:
994-
the matrix <C>mat</C>, followed by 3 postive integers. The function
994+
the matrix <C>mat</C>, followed by 3 positive integers. The function
995995
<A>func</A> is where the work to calculate the desired outcome must be
996996
performed. <P/>
997997

@@ -1577,7 +1577,7 @@ gap> DigraphRandomWalk(D, 1, 4);
15771577
to the vertex <A>v</A>.
15781578
<P/>
15791579

1580-
See <Ref Oper="DigraphPath"/> for more information about the repesentation
1580+
See <Ref Oper="DigraphPath"/> for more information about the representation
15811581
of a directed path or directed cycle which is used, and see <Ref
15821582
Sect="Iterators" BookName="ref"/> for more information about iterators.
15831583
See Section <Ref Subsect="Definitions" Style="Text"/> for the definition of

doc/prop.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ false]]></Example>
13411341
<Prop Name="IsQuasiorderDigraph" Arg="digraph"/>
13421342
<Returns><K>true</K> or <K>false</K>.</Returns>
13431343
<Description>
1344-
A digraph is a preorder digraph if and only if the digraph satisifies both
1344+
A digraph is a preorder digraph if and only if the digraph satisfies both
13451345
<Ref Prop="IsReflexiveDigraph"/> and <Ref Prop="IsTransitiveDigraph"/>.
13461346
A preorder digraph (or quasiorder digraph) <A>digraph</A> corresponds to
13471347
the preorder relation <M>\leq</M> defined by <M>x \leq y</M> if and only
@@ -1377,7 +1377,7 @@ false
13771377
<Prop Name="IsPartialOrderDigraph" Arg="digraph"/>
13781378
<Returns><K>true</K> or <K>false</K>.</Returns>
13791379
<Description>
1380-
A digraph is a partial order digraph if and only if the digraph satisifies
1380+
A digraph is a partial order digraph if and only if the digraph satisfies
13811381
all of <Ref Prop="IsReflexiveDigraph"/>,
13821382
<Ref Prop="IsAntisymmetricDigraph"/> and <Ref Prop="IsTransitiveDigraph"/>.
13831383
A partial order <A>digraph</A> corresponds
@@ -1410,7 +1410,7 @@ true
14101410
<Prop Name="IsEquivalenceDigraph" Arg="digraph"/>
14111411
<Returns><K>true</K> or <K>false</K>.</Returns>
14121412
<Description>
1413-
A digraph is an equivalence digraph if and only if the digraph satisifies
1413+
A digraph is an equivalence digraph if and only if the digraph satisfies
14141414
all of <Ref Prop="IsReflexiveDigraph"/>,
14151415
<Ref Prop="IsSymmetricDigraph"/> and <Ref Prop="IsTransitiveDigraph"/>.
14161416
A partial order <A>digraph</A> corresponds to an equivalence relation.

doc/z-chap9.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<Item>
1818
<E> Graph6 </E> is a graph data format for storing undirected graphs
1919
with no multiple edges nor loops of size up to <M> 2^{36} - 1 </M> in
20-
printable chracters. The format consists of two parts. The first part
20+
printable characters. The format consists of two parts. The first part
2121
uses one to eight bytes to store the number of vertices. And the second
2222
part is the upper half of the adjacency matrix converted into ASCII
2323
characters. For a more detail description see <URL Text='Graph6'>
@@ -52,7 +52,7 @@
5252
designed for digraphs. In this format the list of edges is
5353
partitioned into inceasing and decreasing edges, depending whether the
5454
edge has its source bigger than the range. Then both sets of edges are
55-
written separetly in <E> Sparse6 </E> format with a separation symbol
55+
written separately in <E> Sparse6 </E> format with a separation symbol
5656
in between.
5757
</Item>
5858
</List>

gap/attr.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ function(D)
302302
od;
303303
return index;
304304
end;
305-
# Iterate over vetex subsets
305+
# Iterate over vertex subsets
306306
subset_iter := IteratorOfCombinations(vertices);
307307
# Skip the first one, which should be the empty set
308308
S := NextIterator(subset_iter);
@@ -345,7 +345,7 @@ function(D)
345345
# Undo the changes made.
346346
UniteBlist(vertex_blist, I);
347347
od;
348-
# Iterate over vetex subset blists.
348+
# Iterate over vertex subset blists.
349349
subset_iter := ListWithIdenticalEntries(n, [true, false]);
350350
subset_iter := IteratorOfCartesianProduct2(subset_iter);
351351
# Skip the first one, which should be the empty set

gap/digraph.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ function(filt, D)
11661166
red := DigraphReflexiveTransitiveReduction(D);
11671167
top := DigraphTopologicalSort(D);
11681168
# im[i] will store the image of the idempotent partial perm corresponding to
1169-
# vertex i of the arugment <D>
1169+
# vertex i of the argument <D>
11701170
im := [];
11711171
im[top[1]] := [];
11721172
max := 1;

gap/grahom.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function(arg)
3131
colours := fail;
3232
G := AutomorphismGroup(DigraphRemoveAllMultipleEdges(D));
3333
else
34-
ErrorNoReturn("the 2nd argument must be a homogenous list,");
34+
ErrorNoReturn("the 2nd argument must be a homogeneous list,");
3535
fi;
3636
else
3737
if HasGeneratorsOfEndomorphismMonoidAttr(D) then

0 commit comments

Comments
 (0)