Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo authored and github-actions[bot] committed Jan 5, 2024
1 parent 46d3853 commit 178b72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/PathOrderOptimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class PathOrderOptimizer
{
roots.erase(v);
leaves.erase(u);
num_incoming_edges.find(v)->second ++;
num_incoming_edges.find(v)->second++;
}

// We used a shared visited set between runs of dfs. This is for the case when we reverse the ordering tree.
Expand All @@ -395,7 +395,7 @@ class PathOrderOptimizer
// from an arbitrary leaf we might encounter a junction. All paths from the other leaf-side(s) of the junction
// should be printed before continuing the junctions. Only once every branch of the junction has been ordered
// we can continue with the junction itself.
num_incoming_edges.find(neighbour)->second --;
num_incoming_edges.find(neighbour)->second--;
if (num_incoming_edges.at(neighbour) == 0)
{
candidates.insert(neighbour);
Expand Down

0 comments on commit 178b72b

Please sign in to comment.