Skip to content

Commit 1559dba

Browse files
committed
fix linting error in floogen/model/routing.py
1 parent 62ef0af commit 1559dba

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

floogen/model/routing.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,10 @@ def render_hdr_typedef(self, network_type) -> str:
659659
return (
660660
f"`FLOO_TYPEDEF_HDR_T(hdr_t, {dst_type}, id_t, {ch_type}, rob_idx_t,"
661661
f"id_t, collect_comm_e, reduction_op_t)")
662-
else:
663-
return (
664-
f"`FLOO_TYPEDEF_HDR_T(hdr_t, {dst_type}, id_t, {ch_type}, rob_idx_t,"
665-
f"id_t, collect_comm_e)")
666-
# TODO (lleone): Add error if multicast is not anbled but reduction it is. We cannot support only reduction.
662+
663+
return (
664+
f"`FLOO_TYPEDEF_HDR_T(hdr_t, {dst_type}, id_t, {ch_type}, rob_idx_t,"
665+
f"id_t, collect_comm_e)")
667666
return f"`FLOO_TYPEDEF_HDR_T(hdr_t, {dst_type}, id_t, {ch_type}, rob_idx_t)"
668667
return f"`FLOO_TYPEDEF_VC_HDR_T(hdr_t, {dst_type}, id_t, {ch_type}, rob_idx_t, vc_id_t)"
669668

0 commit comments

Comments
 (0)