Skip to content

Commit

Permalink
slight tweak to when we keep a thin overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren authored May 12, 2023
1 parent f40a204 commit bf659b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utgcns/unitigConsensus.C
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ unitigConsensus::generateTemplateStitch(void) {
bool first = (nm == 0);
bool save = false;

if ((nm < _utgpos[ii].max()) && (thick || (first && !allowContains)) && badToAdd.count(ii) == 0) {
if ((nm < _utgpos[ii].max()) && (thick || (first && badToAdd.size() == 0)) && badToAdd.count(ii) == 0) {
save = true;
nr = ii;
nm = _utgpos[ii].max();
Expand Down

0 comments on commit bf659b1

Please sign in to comment.