Skip to content

Commit

Permalink
Merge pull request #15053 from BetterWang/ClusterShapeTrackFilter_75X
Browse files Browse the repository at this point in the history
Protection against empty globalDirs
  • Loading branch information
davidlange6 committed Jul 4, 2016
2 parents 9458406 + eecbc97 commit 43c9dce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ bool ClusterShapeTrackFilter::operator()

// Get global directions
vector<GlobalVector> globalDirs = getGlobalDirs(globalPoss);
if ( globalDirs.empty() ) return false;

bool ok = true;

Expand Down

0 comments on commit 43c9dce

Please sign in to comment.