Skip to content

Commit f620635

Browse files
vpr: Fix wrong if condition
1 parent a43f134 commit f620635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/place_macro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ static bool try_combine_macros(std::vector<std::vector<ClusterBlockId>>& pl_macr
246246
old_macro_it = old_macro_blocks.begin();
247247
new_macro_it = std::find(new_macro_blocks.begin(), new_macro_blocks.end(), *old_macro_it);
248248
// if matching is from the middle of the two macros, then combining macros is not possible
249-
if (new_macro_it == old_macro_blocks.end()) {
249+
if (new_macro_it == new_macro_blocks.end()) {
250250
return false;
251251
}
252252
}

0 commit comments

Comments
 (0)