diff --git a/src/runtime2/connector.rs b/src/runtime2/connector.rs index f60d038c8d9816830c301122a06d6ef70c5896dd..c6e919b4198fcbf0372ed9f3d74f12421fcf010f 100644 --- a/src/runtime2/connector.rs +++ b/src/runtime2/connector.rs @@ -354,8 +354,8 @@ impl ConnectorPDL { let (getter, putter) = sched_ctx.runtime.create_channel(comp_ctx.id); debug_assert!(getter.kind == PortKind::Getter && putter.kind == PortKind::Putter); branch.prepared_channel = Some(( - Value::Input(PortId::new(putter.self_id.index)), - Value::Output(PortId::new(getter.self_id.index)), + Value::Output(PortId::new(putter.self_id.index)), + Value::Input(PortId::new(getter.self_id.index)), )); comp_ctx.push_port(putter);