Skip to content

Commit

Permalink
RequiredVisitor::visitFromToPath to_tag_group null check
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed May 28, 2020
1 parent c2ba9fa commit 6e6415f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/Search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3445,7 +3445,7 @@ RequiredVisitor::visitFromToPath(const Pin *,
const MinMax *req_min = min_max->opposite();
TagGroup *to_tag_group = sta_->search()->tagGroup(to_vertex);
// Check to see if to_tag was pruned.
if (to_tag_group->hasTag(to_tag)) {
if (to_tag_group && to_tag_group->hasTag(to_tag)) {
PathVertex to_path(to_vertex, to_tag, sta_);
Required to_required = to_path.required(sta_);
Required from_required = to_required - arc_delay;
Expand Down

0 comments on commit 6e6415f

Please sign in to comment.