Skip to content

Commit 2853329

Browse files
Fix bug in edge_compare_src_node_and_configurable_first
1 parent 13d8a0d commit 2853329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/librrgraph/src/base/rr_graph_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class edge_compare_src_node_and_configurable_first {
281281
RRNodeId rhs_dest_node = rr_graph_storage_.edge_sink_node(rhs);
282282
RRNodeId rhs_src_node = rr_graph_storage_.edge_source_node(rhs);
283283
RRSwitchId rhs_switch_type = RRSwitchId(rr_graph_storage_.edge_switch(rhs));
284-
bool rhs_is_configurable = rr_switch_inf_[RRSwitchId(lhs_switch_type)].configurable();
284+
bool rhs_is_configurable = rr_switch_inf_[RRSwitchId(rhs_switch_type)].configurable();
285285

286286
return std::make_tuple(lhs_src_node, !lhs_is_configurable, lhs_dest_node, lhs_switch_type) < std::make_tuple(rhs_src_node, !rhs_is_configurable, rhs_dest_node, rhs_switch_type);
287287
}

0 commit comments

Comments
 (0)