Skip to content

Commit eb1904c

Browse files
wilfwilsonjames-d-mitchell
authored andcommitted
prop: use mutable bool adj mat in IsHamiltonianDigraph (#192)
1 parent 12efe9a commit eb1904c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gap/prop.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ function(gr)
574574
indegs := InDegrees(gr);
575575
outdegs := OutDegrees(gr);
576576
fulldegs := indegs + outdegs;
577-
adjmatrix := BooleanAdjacencyMatrix(gr);
577+
adjmatrix := BooleanAdjacencyMatrixMutableCopy(gr);
578578
# checks if Meyniel's theorem, Theorem 4.1 or Theorem 4.2 are applicable.
579579
checkMT := true;
580580
check41 := true;

0 commit comments

Comments
 (0)