Commit bb8c862f authored by Jan Pöppel's avatar Jan Pöppel
Browse files

added small comment

parent 983fe715
......@@ -258,7 +258,7 @@ class FactorTree(object):
# Assign factors to clusters
for f in factors:
for treeNode, treeData in tree.nodes(data=True):
for treeNode, treeData in tree.nodes(data=True): #was nodes_iter in networkx 1.x
if set(f.values).issubset(treeData["variables"]):
treeData["factor"] = treeData["factor"] * f
break
......
Supports Markdown
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