unrolled graphs only have one output

This commit is contained in:
Mike J Innes 2017-06-02 16:22:39 +01:00
parent 50bbb87674
commit baaf9f2682

View File

@ -152,7 +152,7 @@ function unseqin(v::IVertex)
end end
end end
unseqout(v::IVertex) = group(v[1], map(x->x[1], inputs(v)[2:end])...) unseqout(v::IVertex) = group(v[1], v[2][1])
unseq(graph) = unseqout(unseqin(graph)) unseq(graph) = unseqout(unseqin(graph))