Skip to content

Commit 0b4cfc2

Browse files
Update router_lookahead_map.cpp
1 parent 60bee8f commit 0b4cfc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/router_lookahead_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ float MapLookahead::get_expected_cost_flat_router(RRNodeId current_node, RRNodeI
206206
rr_graph.node_layer(current_node)});
207207
const VibInf* vib;
208208
if (!device_ctx.arch->vib_infs.empty()) {
209-
vib = device_ctx.vib_grid[rr_graph.node_layer(current_node)][rr_graph.node_xlow(current_node)][rr_graph.node_ylow(current_node)];
209+
vib = device_ctx.vib_grid.get_vib(rr_graph.node_layer(current_node), rr_graph.node_xlow(current_node), rr_graph.node_ylow(current_node));
210210
}
211211
else {
212212
vib = nullptr;

0 commit comments

Comments
 (0)