Commit 870513fb authored by Hua-Ting Yao's avatar Hua-Ting Yao
Browse files

Fix

parent 52eaa2f1
......@@ -29,9 +29,9 @@ def get_dependencies(module, map_index, out=None):
res = {}
for idx in td.toposorted_bag_indices():
children = td.adj[idx]
x = td.bags[idx]
x = td.get_bags()[idx]
for idy in children:
y = td.bags[idy]
y = td.get_bags()[idy]
key = td.diff_set(x,y)[0]
value = td.sep_set(x,y)
res[inv_map[key]] = [inv_map[x] for x in value]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment