X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=eachgapdist.h;h=1aca10c4bd208f6cf6c0dbfd9f97fdde97afe576;hp=d21e55ca1acb4e950b1126ade38a3237a7684ad9;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=cdcf99b7760701e6869ca8e4e6e91c8e8c4ae186 diff --git a/eachgapdist.h b/eachgapdist.h index d21e55c..1aca10c 100644 --- a/eachgapdist.h +++ b/eachgapdist.h @@ -9,6 +9,7 @@ * */ + #include "dist.h" /**************************************************************************************************/ @@ -16,6 +17,9 @@ class eachGapDist : public Dist { public: + + eachGapDist() {} + void calcDist(Sequence A, Sequence B){ int diff = 0; int length = 0; @@ -23,6 +27,7 @@ public: string seqA = A.getAligned(); string seqB = B.getAligned(); + int alignLength = seqA.length(); for(int i=0; i