Peter Arrenbrecht  committed 2e15f25

drop unnecessary param to headsof I introduced earlier

  • Participants
  • Parent commits a6d4537
  • Branches default

Comments (0)

Files changed (2)

File src/

         '''return set of nodes from heads to stops (or root)'''
         return set(self.walk(heads, stops))
-    def headsof(self, nodes, stops=None):
+    def headsof(self, nodes):
         '''return subset of nodes where no node has a descendant in nodes'''
         hds = set(nodes)
         if not hds:

File src/

         return set(nodes)
     if TRACE: print "headsof"
-    heads = dag.headsof(nodes, stop)
+    heads = dag.headsof(nodes)
     if TRACE: print heads
     sample = set()