Skip to content

Commit

Permalink
Guard against OG == nullptr when called from layoutReads.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Oct 18, 2021
1 parent 1c62138 commit 08b0347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bogart/AS_BAT_PlaceContains.C
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ placeUnplacedUsingAllOverlaps(TigVector &tigs,

if (tig) {
frg.ident = fid;
frg.contained = OG->isContained(fid);
frg.contained = (OG != nullptr) ? OG->isContained(fid) : false;
frg.parent = 0;
frg.ahang = 0;
frg.bhang = 0;
Expand Down

0 comments on commit 08b0347

Please sign in to comment.