1
0

diplomacy Nodes: leave flipping to the MixedNode implementation

This commit is contained in:
Wesley W. Terpstra
2016-10-25 17:47:32 -07:00
parent 082f338432
commit 0edcd3304a
4 changed files with 10 additions and 6 deletions

View File

@ -58,7 +58,7 @@ object IntImp extends NodeImp[IntSourcePortParameters, IntSinkPortParameters, In
}
def bundleI(ei: Seq[IntEdge]): Vec[Vec[Bool]] = {
require (!ei.isEmpty)
Vec(ei.size, Vec(ei.map(_.source.num).max, Bool())).flip
Vec(ei.size, Vec(ei.map(_.source.num).max, Bool()))
}
def colour = "#0000ff" // blue