We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e026015 commit 4275b6aCopy full SHA for 4275b6a
vpr/src/pack/prepack.cpp
@@ -1210,8 +1210,8 @@ static std::unordered_set<t_pb_type*> get_pattern_blocks(const t_pack_patterns&
1210
* add the connected block to the queue
1211
*/
1212
while (current_connenction != nullptr) {
1213
- if (visited_from_pins.count(current_connenction->from_pin)) {
1214
- if (visited_to_pins.count(current_connenction->to_pin)) {
+ if (visited_from_pins.find(current_connenction->from_pin) != visited_from_pins.end()) {
+ if (visited_to_pins.find(current_connenction->to_pin) != visited_to_pins.end()) {
1215
/* We've already seen this connection */
1216
current_connenction = current_connenction->next;
1217
continue;
0 commit comments