Skip to content

Commit

Permalink
Merge pull request #296 from MeikeWeiss/separating
Browse files Browse the repository at this point in the history
Changed IsNonSeparatingCycle
  • Loading branch information
ReymondAkpanya authored Oct 15, 2024
2 parents 17136ba + 25858f4 commit 1548ac4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gap/PolygonalComplexes/graphs.gi
Original file line number Diff line number Diff line change
Expand Up @@ -756,15 +756,13 @@ BindGlobal("__SIMPLICIAL_EdgesFromCycle",
BindGlobal("__SIMPLICIAL_IsNonSeparating",
function(digraph,cycle)

local edgesOfCycle, e, digraphRemoved;
local digraphRemoved;

if not IsSymmetricDigraph(digraph) then
return false;
fi;

edgesOfCycle:=__SIMPLICIAL_EdgesFromCycle(digraph,cycle);

digraphRemoved:=DigraphRemoveEdges(digraph,edgesOfCycle);
digraphRemoved:=DigraphRemoveVertices(digraph,cycle);
if IsConnectedDigraph(digraphRemoved) then
return true;
else
Expand Down

0 comments on commit 1548ac4

Please sign in to comment.