X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ignoregaps.h;h=e81ab92e2aaaced862fad7ae0e2f14cdf1d9f386;hb=a218321731df14d231bbc08e79906f757cf1540d;hp=8127b6205e42d18516561565e8a4eb29ccd56ab6;hpb=3117b1c3109121dff476997d3c5db5b47a77729b;p=mothur.git diff --git a/ignoregaps.h b/ignoregaps.h index 8127b62..e81ab92 100644 --- a/ignoregaps.h +++ b/ignoregaps.h @@ -24,37 +24,30 @@ public: int diff = 0; int length = 0; int start = 0; - int end = 0; - for(int i=0;i=0;i--){ - if(A.getAligned()[i] == '.' || B.getAligned()[i] == '.' || A.getAligned()[i] == '-' || B.getAligned()[i] == '-'){ - } - else{ - end = i; - break; - } - } - for(int i=start; i<=end; i++){ - if(A.getAligned()[i] == '.' || B.getAligned()[i] == '.'){ + for(int i=start; i