Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Commit

Permalink
Braces better here
Browse files Browse the repository at this point in the history
  • Loading branch information
retiman committed Jun 9, 2010
1 parent 811d60b commit c4d092b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/jsdm/depth_first_search.rb
Expand Up @@ -23,16 +23,16 @@ def process
:predecessors => predecessors,
:sorted => sorted,
:tree_edges => edge_colors[:white],
:forward_edges => edge_colors[:black].select do |e|
:forward_edges => edge_colors[:black].select { |e|
t = discovered_times[e.first]
u = discovered_times[e.last]
t < u
end,
:cross_edges => edge_colors[:black].select do |e|
},
:cross_edges => edge_colors[:black].select { |e|
t = discovered_times[e.first]
u = discovered_times[e.last]
t > u
end,
},
:back_edges => edge_colors[:gray]
}
end
Expand Down

0 comments on commit c4d092b

Please sign in to comment.