Skip to content

Commit ed36ab2

Browse files
committed
check for allocation of ptc_twist
1 parent ef304b6 commit ed36ab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/librrgraph/src/base/rr_graph_storage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ void t_rr_graph_storage::set_node_layer(RRNodeId id, short layer) {
623623
}
624624

625625
void t_rr_graph_storage::set_node_ptc_twist_incr(RRNodeId id, short twist_incr){
626+
VTR_ASSERT(!node_ptc_twist_incr_.empty());
626627
node_ptc_twist_incr_[id] = twist_incr;
627628
}
628629

0 commit comments

Comments
 (0)