Skip to content

Commit abe89ea

Browse files
committed
[vpr][place] fix grid width/height type
1 parent 3ac38bf commit abe89ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/place/net_cost_handler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ void NetCostHandler::alloc_and_load_for_fast_vertical_cost_update_(float place_c
237237
const auto& device_ctx = g_vpr_ctx.device();
238238
const auto& rr_graph = device_ctx.rr_graph;
239239

240-
const int grid_height = device_ctx.grid.height();
241-
const int grid_width = device_ctx.grid.width();
240+
const size_t grid_height = device_ctx.grid.height();
241+
const size_t grid_width = device_ctx.grid.width();
242242

243243

244244
chanz_place_cost_fac_ = vtr::NdMatrix<float, 4>({grid_width, grid_height, grid_width, grid_height}, 0.);

0 commit comments

Comments
 (0)