minor bug fix for RRGraph data structure

This commit is contained in:
tangxifan 2020-02-03 21:50:02 -07:00
parent 6bd71f198e
commit b6a2013565
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}