File tree 1 file changed +6
-8
lines changed 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,10 @@ static int get_longest_segment_length(std::vector<t_segment_inf>& segment_inf);
163
163
static void fix_empty_coordinates (vtr::NdMatrix<float , 4 >& delta_delays);
164
164
static void fix_uninitialized_coordinates (vtr::NdMatrix<float , 4 >& delta_delays);
165
165
166
- static float find_neightboring_average (vtr::NdMatrix<float , 4 >& matrix,
167
- int from_layer,
168
- t_physical_tile_loc to_tile_loc,
169
- int max_distance);
166
+ static float find_neighboring_average (vtr::NdMatrix<float , 4 >& matrix,
167
+ int from_layer,
168
+ t_physical_tile_loc to_tile_loc,
169
+ int max_distance);
170
170
171
171
/* ****** Globally Accessible Functions **********/
172
172
@@ -920,15 +920,13 @@ static float find_neighboring_average(
920
920
int endx = matrix.end_index (2 );
921
921
int endy = matrix.end_index (3 );
922
922
923
- int delx, dely;
924
-
925
923
int x = to_tile_loc.x ;
926
924
int y = to_tile_loc.y ;
927
925
int to_layer = to_tile_loc.layer_num ;
928
926
929
927
for (int distance = 1 ; distance <= max_distance; ++distance) {
930
- for (delx = x - distance; delx <= x + distance; delx++) {
931
- for (dely = y - distance; dely <= y + distance; dely++) {
928
+ for (int delx = x - distance; delx <= x + distance; delx++) {
929
+ for (int dely = y - distance; dely <= y + distance; dely++) {
932
930
// Check distance constraint
933
931
if (abs (delx - x) + abs (dely - y) > distance) {
934
932
continue ;
You can’t perform that action at this time.
0 commit comments