Skip to content

Commit 397225b

Browse files
Merge branch 'main' into stable-1.7
2 parents 1c2b197 + 0576c1b commit 397225b

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

.mailmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Tom Conti-Leslie <tom.contileslie@gmail.com> Tom Conti-Leslie <tdcl@st-andrews.a
77
Jan De Beule <jdebeule@cage.ugent.be>
88
Jan De Beule <jdebeule@cage.ugent.be> Jan De Beule <jan@debeule.eu>
99
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>
10+
Joseph Edwards <jde1@st-andrews.ac.uk> Joseph Edwards <80713360+Joseph-Edwards@users.noreply.github.com>
1111
Luke Elliott <le27@st-andrews.ac.uk> Luke <le27@st-andrews.ac.uk>
1212
Luke Elliott <le27@st-andrews.ac.uk> le27 <le27@st-andrews.ac.uk>
1313
Max Horn <horn@mathematik.uni-kl.de> Max Horn <max@quendi.de>

PackageInfo.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ Persons := [
127127

128128
rec(
129129
LastName := "Edwards",
130-
FirstNames := "Joe",
130+
FirstNames := "Joseph",
131131
IsAuthor := false,
132132
IsMaintainer := false,
133-
Email := "je53@st-andrews.ac.uk",
133+
Email := "jde1@st-andrews.ac.uk",
134134
PostalAddress := _STANDREWSMATHS,
135135
Place := "St Andrews",
136136
Institution := "University of St Andrews",

gap/oper.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function(D, src, ran)
241241
pos := Position(D!.OutNeighbours[src], ran);
242242
if pos <> fail then
243243
Remove(D!.OutNeighbours[src], pos);
244-
Remove(DigraphEdgeLabels(D)[src], pos);
244+
RemoveDigraphEdgeLabel(D, src, pos);
245245
fi;
246246
return D;
247247
end);

tst/testinstall.tst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,19 @@ gap> d := EdgeWeightedDigraph([[2], [1]], [[5], [10]]);
416416
gap> EdgeWeights(d);
417417
[ [ 5 ], [ 10 ] ]
418418
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+
gap> DigraphEdgeLabels(D);
425+
[ [ 1 ], [ 1 ], [ 1 ], [ 1 ] ]
426+
gap> D := DigraphByEdges(IsMutableDigraph, [[1, 2], [2, 3], [3, 4], [4, 1], [1, 1]]);;
427+
gap> SetDigraphEdgeLabel(D, 1, 2, "test");
428+
gap> DigraphRemoveEdge(D, 1, 2);;
429+
gap> DigraphEdgeLabels(D);
430+
[ [ 1 ], [ 1 ], [ 1 ], [ 1 ] ]
431+
419432
# DIGRAPHS_UnbindVariables
420433
gap> Unbind(D);
421434
gap> Unbind(adj);

0 commit comments

Comments
 (0)