Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPointon committed Feb 6, 2024
1 parent 69dbf7b commit 00c7d2e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions gap/oper.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2038,13 +2038,7 @@ function(D, roots)
index := index + 1;
od;

visited_as_ints := [];

for i in [1 .. N] do
if visited[i] then;
Add(visited_as_ints, i);
fi;
od;
visited_as_ints := ListBlist([1 .. N], visited);

return visited_as_ints;
end);
Expand All @@ -2054,7 +2048,7 @@ InstallMethod(IsOrderIdeal, "for a digraph and a list of vertices",
# Check if digraph represents a partial order
function(D, roots)
local reachable_vertices, vertex_in_subset, i, N;
if not(IsPartialOrderDigraph(D)) then
if not IsPartialOrderDigraph(D) then
ErrorNoReturn("the 1st element (a digraph) must be a partial order digraph");
fi;

Expand Down

0 comments on commit 00c7d2e

Please sign in to comment.