]> git.donarmstrong.com Git - mothur.git/blobdiff - eachgapdist.h
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / eachgapdist.h
index ac9b45302c75cd7cec5ac28613eeaf2c344a21f7..1aca10c4bd208f6cf6c0dbfd9f97fdde97afe576 100644 (file)
@@ -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;
@@ -48,8 +52,6 @@ public:
                
                if(length == 0) {       dist = 1.0000;                                                          }
                else                    {       dist = ((double)diff  / (double)length);        }
-
-               
        }
 };