We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c2b197 + 0576c1b commit 397225bCopy full SHA for 397225b
4 files changed
.mailmap
@@ -7,7 +7,7 @@ Tom Conti-Leslie <tom.contileslie@gmail.com> Tom Conti-Leslie <tdcl@st-andrews.a
7
Jan De Beule <jdebeule@cage.ugent.be>
8
Jan De Beule <jdebeule@cage.ugent.be> Jan De Beule <jan@debeule.eu>
9
Jan De Beule <jdebeule@cage.ugent.be> jdebeule <unknown>
10
-Joe Edwards <je53@st-andrews.ac.uk> Joe Edwards <80713360+Joseph-Edwards@users.noreply.github.com>
+Joseph Edwards <jde1@st-andrews.ac.uk> Joseph Edwards <80713360+Joseph-Edwards@users.noreply.github.com>
11
Luke Elliott <le27@st-andrews.ac.uk> Luke <le27@st-andrews.ac.uk>
12
Luke Elliott <le27@st-andrews.ac.uk> le27 <le27@st-andrews.ac.uk>
13
Max Horn <horn@mathematik.uni-kl.de> Max Horn <max@quendi.de>
PackageInfo.g
@@ -127,10 +127,10 @@ Persons := [
127
128
rec(
129
LastName := "Edwards",
130
- FirstNames := "Joe",
+ FirstNames := "Joseph",
131
IsAuthor := false,
132
IsMaintainer := false,
133
- Email := "je53@st-andrews.ac.uk",
+ Email := "jde1@st-andrews.ac.uk",
134
PostalAddress := _STANDREWSMATHS,
135
Place := "St Andrews",
136
Institution := "University of St Andrews",
gap/oper.gi
@@ -241,7 +241,7 @@ function(D, src, ran)
241
pos := Position(D!.OutNeighbours[src], ran);
242
if pos <> fail then
243
Remove(D!.OutNeighbours[src], pos);
244
- Remove(DigraphEdgeLabels(D)[src], pos);
+ RemoveDigraphEdgeLabel(D, src, pos);
245
fi;
246
return D;
247
end);
tst/testinstall.tst
@@ -416,6 +416,19 @@ gap> d := EdgeWeightedDigraph([[2], [1]], [[5], [10]]);
416
gap> EdgeWeights(d);
417
[ [ 5 ], [ 10 ] ]
418
419
+# Issue 617: bug in DigraphRemoveEdge, wasn't removing edge labels
420
+gap> D := DigraphByEdges(IsMutableDigraph, [[1, 2], [2, 3], [3, 4], [4, 1], [1, 1]]);;
421
+gap> DigraphEdgeLabels(D);
422
+[ [ 1, 1 ], [ 1 ], [ 1 ], [ 1 ] ]
423
+gap> DigraphRemoveEdge(D, [1, 2]);;
424
425
+[ [ 1 ], [ 1 ], [ 1 ], [ 1 ] ]
426
427
+gap> SetDigraphEdgeLabel(D, 1, 2, "test");
428
+gap> DigraphRemoveEdge(D, 1, 2);;
429
430
431
+
432
# DIGRAPHS_UnbindVariables
433
gap> Unbind(D);
434
gap> Unbind(adj);
0 commit comments