Skip to content

Commit

Permalink
Minor code cleanup for strat.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilconway committed Jan 15, 2014
1 parent f9df050 commit f465003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bud/bud_meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def meta_rewrite

stratified_rules = []
if @bud_instance.toplevel == @bud_instance
nodes, stratum_map = stratify_preds
stratum_map = stratify_preds
top_stratum = stratum_map.values.max
top_stratum ||= -1

Expand Down Expand Up @@ -210,7 +210,7 @@ def stratify_preds
stratum_map[n.name] = n.stratum
end
analyze_dependencies(nodes)
return nodes, stratum_map
return stratum_map
end

def calc_stratum(node, neg, temporal, path)
Expand Down

0 comments on commit f465003

Please sign in to comment.