Skip to content

Commit 33969b3

Browse files
committed
Made changes based on comments on the PR to the doc and tests
1 parent 2ed87d4 commit 33969b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/oper.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ true
248248
with <C>OnDigraphs(<A>digraph</A>, AsPermutation(<A>trans</A>))</C>.
249249
<P/>
250250

251+
Note: <C>OnDigraphs</C> for a digraph and a permutation or transformation can also be used via the <C>\^</C> operator. <P/>
252+
251253
The <Ref Oper="DigraphVertexLabels"/> of <A>digraph</A> will not be retained
252254
in the returned digraph. <P/>
253255

@@ -287,12 +289,10 @@ true
287289
For a digraph <A>digraph</A> and a permutation <A>perm</A>,
288290
<C>digraph ^ perm</C> gives the same result as
289291
<C>OnDigraphs(digraph, perm)</C> — a digraph whose vertices have been relabelled according to the permutation. <P/>
290-
Note: <C>OnDigraphs</C> for a digraph and a permutation can also be used via the <C>\^</C> operator. <P/>
291292

292293
Similarly, if the second argument is a transformation <A>trans</A>,
293294
then <C>digraph ^ trans</C> calls <C>OnDigraphs(digraph, trans)</C>.
294295
This allows a simple way to apply vertex relabelling or transformations directly using the <C>^</C> symbol. <P/>
295-
Note: <C>OnDigraphs</C> for a digraph and a transformation can also be used via the <C>\^</C> operator. <P/>
296296

297297
<Example><![CDATA[
298298
gap> D := CycleDigraph(5);

tst/standard/oper.tst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#@local i1, i2, id, idom, in1, in2, in3, iter, j1, j2, m, m1, m2, mat, n, nbs
1717
#@local out, out1, out2, out3, p1, p2, path, preorder, qr, r, res, rtclosure, t
1818
#@local tclosure, u1, u2, x
19-
#@local D, p, q, t, idp, idt, M
19+
#@local p, q, idp, idt, M
2020
gap> START_TEST("Digraphs package: standard/oper.tst");
2121
gap> LoadPackage("digraphs", false);;
2222

0 commit comments

Comments
 (0)