@@ -1543,8 +1543,7 @@ static void update_move_nets(int num_nets_affected,
15431543 }
15441544
15451545 for (int layer_num = 0 ; layer_num < g_vpr_ctx.device ().grid .get_num_layers (); layer_num++) {
1546- place_move_ctx.num_sink_pin_layer [size_t (net_id)][layer_num] =
1547- ts_layer_sink_pin_count[size_t (net_id)][layer_num];
1546+ place_move_ctx.num_sink_pin_layer [size_t (net_id)][layer_num] = ts_layer_sink_pin_count[size_t (net_id)][layer_num];
15481547 }
15491548
15501549 if (cluster_ctx.clb_nlist .net_sinks (net_id).size () >= SMALL_NET) {
@@ -3274,9 +3273,7 @@ static void update_bb(ClusterNetId net_id,
32743273 return ;
32753274 }
32763275
3277- vtr::NdMatrixProxy<int , 1 > curr_num_sink_pin_layer = (bb_updated_before[net_id] == NOT_UPDATED_YET) ?
3278- place_move_ctx.num_sink_pin_layer [size_t (net_id)] :
3279- num_sink_pin_layer_new;
3276+ vtr::NdMatrixProxy<int , 1 > curr_num_sink_pin_layer = (bb_updated_before[net_id] == NOT_UPDATED_YET) ? place_move_ctx.num_sink_pin_layer [size_t (net_id)] : num_sink_pin_layer_new;
32803277
32813278 if (bb_updated_before[net_id] == NOT_UPDATED_YET) {
32823279 /* The net had NOT been updated before, could use the old values */
@@ -3491,9 +3488,7 @@ static void update_layer_bb(ClusterNetId net_id,
34913488 return ;
34923489 }
34933490
3494- const vtr::NdMatrixProxy<int , 1 > curr_layer_pin_sink_count = (bb_updated_before[net_id] == NOT_UPDATED_YET) ?
3495- place_move_ctx.num_sink_pin_layer [size_t (net_id)] :
3496- bb_pin_sink_count_new;
3491+ const vtr::NdMatrixProxy<int , 1 > curr_layer_pin_sink_count = (bb_updated_before[net_id] == NOT_UPDATED_YET) ? place_move_ctx.num_sink_pin_layer [size_t (net_id)] : bb_pin_sink_count_new;
34973492
34983493 if (bb_updated_before[net_id] == NOT_UPDATED_YET) {
34993494 /* The net had NOT been updated before, could use the old values */
0 commit comments