Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: simon1hofmann <[email protected]>
  • Loading branch information
simon1hofmann and github-actions[bot] authored Oct 16, 2024
1 parent c152649 commit 65cb54d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -846,9 +846,9 @@ class post_layout_optimization_impl
}

// if possible routing was found, it will be applied
if (!(fanins.size() > 0 && new_path_from_fanin_1_to_gate.empty()) &&
d!fanins.empty()
!(fanins.size() == 2 && new_path_from_fanin_2_to_gate.empty()) &&
!(fanouts.size() > 0 && new_path_from_gate_to_fanout_1.empty()) &&
&!fanouts.empty()
!(fanouts.size() == 2 && new_path_from_gate_to_fanout_2.empty()))
{
for (const auto& path : {new_path_from_fanin_1_to_gate, new_path_from_fanin_2_to_gate,
Expand Down

0 comments on commit 65cb54d

Please sign in to comment.