minor bug fix for RRGraph data structure
This commit is contained in:
parent
6bd71f198e
commit
b6a2013565
|
@ -885,6 +885,7 @@ RREdgeId RRGraph::create_edge(const RRNodeId& source, const RRNodeId& sink, cons
|
|||
|
||||
void RRGraph::set_edge_switch(const RREdgeId& edge, const RRSwitchId& switch_id) {
|
||||
VTR_ASSERT(valid_edge_id(edge));
|
||||
VTR_ASSERT(valid_switch_id(switch_id));
|
||||
edge_switches_[edge] = switch_id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue