File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ const odb::Rect& Grid::getGridArea() const
190190
191191odb::Point Grid::getPositionFromGridPoint (const int x, const int y)
192192{
193- int x_loc = tile_size_ * (x + 0.5 ) + getXMin ();
194- int y_loc = tile_size_ * (y + 0.5 ) + getYMin ();
193+ int x_loc = ( tile_size_ * (x + 0.5 ) ) + getXMin ();
194+ int y_loc = ( tile_size_ * (y + 0.5 ) ) + getYMin ();
195195 return odb::Point (x_loc, y_loc);
196196}
197197
Original file line number Diff line number Diff line change @@ -1283,9 +1283,6 @@ void FastRouteCore::getCapacityReductionData(
12831283 for (int k = 0 ; k < num_layers_; k++) {
12841284 bool is_horizontal
12851285 = layer_directions_[k] == odb::dbTechLayerDir::HORIZONTAL;
1286- const uint8_t capH = h_capacity_3D_[k];
1287- const uint8_t capV = v_capacity_3D_[k];
1288-
12891286 if (is_horizontal) {
12901287 int last_cell_cap_h = 0 ;
12911288 for (int y = 0 ; y < y_grid_; y++) {
You can’t perform that action at this time.
0 commit comments