Skip to content

Commit

Permalink
Use mutable boolean adj matrix in IsHamiltonianDigraph
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed Apr 10, 2019
1 parent 12efe9a commit 60202e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gap/prop.gi
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ function(gr)
indegs := InDegrees(gr);
outdegs := OutDegrees(gr);
fulldegs := indegs + outdegs;
adjmatrix := BooleanAdjacencyMatrix(gr);
adjmatrix := BooleanAdjacencyMatrixMutableCopy(gr);
# checks if Meyniel's theorem, Theorem 4.1 or Theorem 4.2 are applicable.
checkMT := true;
check41 := true;
Expand Down

0 comments on commit 60202e7

Please sign in to comment.