Skip to content

Commit c5178e4

Browse files
committed
change placer context to use max_num_layer const
1 parent d18fc4f commit c5178e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/placer_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct PlacerMoveContext : public Context {
104104
vtr::vector<ClusterNetId, std::vector<t_2D_bb>> layer_bb_coords;
105105

106106
// [0..cluster_ctx.clb_nlist.nets().size()-1]. Store the number of blocks on each layer ()
107-
vtr::vector<ClusterNetId, std::array<int, 5>> num_sink_pin_layer;
107+
vtr::vector<ClusterNetId, std::array<int, MAX_NUM_LAYERS>> num_sink_pin_layer;
108108

109109
// The first range limit calculated by the anneal
110110
float first_rlim;

0 commit comments

Comments
 (0)