Skip to content

Commit 56b989a

Browse files
initialize chany_place_cost_fac_
1 parent d4e1715 commit 56b989a

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
@@ -164,7 +164,7 @@ void NetCostHandler::alloc_and_load_chan_w_factors_for_place_cost_(float place_c
164164
* equal to sublow, we will only access the lower half of a matrix, but we allocate the whole matrix anyway
165165
* for simplicity, so we can use the vtr utility matrix functions. */
166166
chanx_place_cost_fac_ = vtr::NdOffsetMatrix<float, 2>({{{-1, grid_height}, {-1, grid_height}}});
167-
chanx_place_cost_fac_ = vtr::NdOffsetMatrix<float, 2>({{{-1, grid_width}, {-1, grid_width}}});
167+
chany_place_cost_fac_ = vtr::NdOffsetMatrix<float, 2>({{{-1, grid_width}, {-1, grid_width}}});
168168

169169
// First compute the number of tracks between channel high and channel low, inclusive.
170170
chanx_place_cost_fac_[-1][-1] = 0;

0 commit comments

Comments
 (0)