@@ -110,24 +110,24 @@ e_create_move WeightedMedianMoveGenerator::propose_move(t_pl_blocks_to_be_moved&
110110 limit_coords.xmin = place_move_ctx.X_coord [0 ];
111111 limit_coords.xmax = limit_coords.xmin ;
112112 } else {
113- limit_coords.xmin = place_move_ctx.X_coord [floor ((place_move_ctx.X_coord .size () - 1 ) / 2 )];
114- limit_coords.xmax = place_move_ctx.X_coord [floor ((place_move_ctx.X_coord .size () - 1 ) / 2 ) + 1 ];
113+ limit_coords.xmin = place_move_ctx.X_coord [((place_move_ctx.X_coord .size () - 1 ) / 2 )];
114+ limit_coords.xmax = place_move_ctx.X_coord [((place_move_ctx.X_coord .size () - 1 ) / 2 ) + 1 ];
115115 }
116116
117117 if (place_move_ctx.Y_coord .size () == 1 ) {
118118 limit_coords.ymin = place_move_ctx.Y_coord [0 ];
119119 limit_coords.ymax = limit_coords.ymin ;
120120 } else {
121- limit_coords.ymin = place_move_ctx.Y_coord [floor ((place_move_ctx.Y_coord .size () - 1 ) / 2 )];
122- limit_coords.ymax = place_move_ctx.Y_coord [floor ((place_move_ctx.Y_coord .size () - 1 ) / 2 ) + 1 ];
121+ limit_coords.ymin = place_move_ctx.Y_coord [((place_move_ctx.Y_coord .size () - 1 ) / 2 )];
122+ limit_coords.ymax = place_move_ctx.Y_coord [((place_move_ctx.Y_coord .size () - 1 ) / 2 ) + 1 ];
123123 }
124124
125125 if (place_move_ctx.layer_coord .size () == 1 ) {
126126 limit_coords.layer_min = place_move_ctx.layer_coord [0 ];
127127 limit_coords.layer_max = limit_coords.layer_min ;
128128 } else {
129- limit_coords.layer_min = place_move_ctx.layer_coord [floor ((place_move_ctx.layer_coord .size () - 1 ) / 2 )];
130- limit_coords.layer_max = place_move_ctx.layer_coord [floor ((place_move_ctx.layer_coord .size () - 1 ) / 2 ) + 1 ];
129+ limit_coords.layer_min = place_move_ctx.layer_coord [((place_move_ctx.layer_coord .size () - 1 ) / 2 )];
130+ limit_coords.layer_max = place_move_ctx.layer_coord [((place_move_ctx.layer_coord .size () - 1 ) / 2 ) + 1 ];
131131 }
132132
133133 t_range_limiters range_limiters{rlim,
0 commit comments