Skip to content

Commit aaaaa13

Browse files
fix compilation warning in net_cost_handler
1 parent 903ecce commit aaaaa13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/net_cost_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ double NetCostHandler::get_net_wirelength_from_layer_bb_(ClusterNetId net_id) co
14241424
const vtr::NdMatrixProxy<int, 1> net_layer_pin_sink_count = num_sink_pin_layer_[size_t(net_id)];
14251425

14261426
double ncost = 0.;
1427-
VTR_ASSERT_SAFE((int)bb.size() == g_vpr_ctx.device().grid.get_num_layers());
1427+
VTR_ASSERT_SAFE(bb.size() == g_vpr_ctx.device().grid.get_num_layers());
14281428

14291429
for (size_t layer_num = 0; layer_num < bb.size(); layer_num++) {
14301430
VTR_ASSERT_SAFE(net_layer_pin_sink_count[layer_num] != UNDEFINED);

0 commit comments

Comments
 (0)