]> git.donarmstrong.com Git - mothur.git/blobdiff - eachgapdist.h
added otu.association command. added calcSpearman, calcKendall and calcPearson functi...
[mothur.git] / eachgapdist.h
index ac9b45302c75cd7cec5ac28613eeaf2c344a21f7..fe9bc3099d7a1dcdd347bfe98a23e1bceb44768a 100644 (file)
@@ -9,6 +9,7 @@
  *
  */
 
+
 #include "dist.h"
 
 /**************************************************************************************************/
 class eachGapDist : public Dist {
        
 public:
+       
+       eachGapDist() {}
+       eachGapDist(const eachGapDist& ddb) {}
+       
        void calcDist(Sequence A, Sequence B){          
                int diff = 0;
                int length = 0;
@@ -48,8 +53,6 @@ public:
                
                if(length == 0) {       dist = 1.0000;                                                          }
                else                    {       dist = ((double)diff  / (double)length);        }
-
-               
        }
 };