1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Didn't mean to commit that.

This commit is contained in:
Cedric Beust 2016-08-02 23:16:28 -08:00
parent 41bc77221d
commit 7b396214fc

View file

@ -68,7 +68,6 @@ class DynamicGraph<T> {
fun <T> transitiveClosureGraph(root: T, childrenFor: (T) -> List<T>, seen: HashSet<T> = hashSetOf()) : Node<T> {
val children = arrayListOf<Node<T>>()
println("TRANSITIVE CLOSURE FOR " + root)
childrenFor(root).forEach { child ->
if (! seen.contains(child)) {
seen.add(child)