Skip to content

Commit

Permalink
proposed fix to the known group passes.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKlx committed Sep 18, 2023
1 parent ec58209 commit a79bb14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ namespace hal
characteristics_of_group.insert(predecessing_known_group.begin(), predecessing_known_group.end());
}

if (!characteristics_of_group.empty())
{
characteristics_map[characteristics_of_group].push_back(group_id);
}
characteristics_map[characteristics_of_group].push_back(group_id);
}

/* check if merge is allowed */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ namespace hal
}
}

if (!characteristics_of_gate.empty())
{
characteristics_map[characteristics_of_gate].insert(gate);
}
characteristics_map[characteristics_of_gate].insert(gate);
}

/* merge gates */
Expand Down

0 comments on commit a79bb14

Please sign in to comment.