Skip to content

Commit cbdb361

Browse files
gatecatkmurray
authored andcommitted
More error handling improvements
Signed-off-by: David Shah <[email protected]>
1 parent df05ed8 commit cbdb361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/route/rr_graph_reader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,14 +686,14 @@ void process_rr_node_indices(const DeviceGrid& grid) {
686686
for (int iy = node.ylow(); iy <= node.yhigh(); iy++) {
687687
for (int ix = node.xlow(); ix <= node.xhigh(); ix++) {
688688
count = node.ptc_num();
689-
indices[CHANX][iy][ix][0][count] = inode;
689+
indices[CHANX][iy][ix][0].at(count) = inode;
690690
}
691691
}
692692
} else if (node.type() == CHANY) {
693693
for (int ix = node.xlow(); ix <= node.xhigh(); ix++) {
694694
for (int iy = node.ylow(); iy <= node.yhigh(); iy++) {
695695
count = node.ptc_num();
696-
indices[CHANY][ix][iy][0][count] = inode;
696+
indices[CHANY][ix][iy][0].at(count) = inode;
697697
}
698698
}
699699
}

0 commit comments

Comments
 (0)