diff --git a/search/PathEnum.cc b/search/PathEnum.cc index e3d6ac85..9650aff0 100644 --- a/search/PathEnum.cc +++ b/search/PathEnum.cc @@ -636,7 +636,8 @@ PathEnum::makeDivertedPath(Path *path, after_div_copy = copy; if (first) div_path = copy; - else if (network_->isLatchData(p->pin(this))) + else if (found_div + && network_->isLatchData(p->pin(this))) break; if (p == before_div) { // Replaced on next pass.