Skip to content

Commit 96ee8cf

Browse files
committed
minor bug in centroid placement
1 parent c7253ce commit 96ee8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/initial_placement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static bool try_centroid_placement(t_pl_macro pl_macro, PartitionRegion& pr, t_l
415415

416416
//centroid suggestion was either occupied or does not match block type
417417
//try to find a near location that meet these requirements
418-
bool neighbor_legal_loc;
418+
bool neighbor_legal_loc = false;
419419
if (!is_loc_legal(centroid_loc, pr, block_type)) {
420420
neighbor_legal_loc = find_centroid_neighbor(centroid_loc, block_type);
421421
if (!neighbor_legal_loc) { //no neighbor candidate found

0 commit comments

Comments
 (0)