]> git.donarmstrong.com Git - mothur.git/blobdiff - dist.h
working on pam
[mothur.git] / dist.h
diff --git a/dist.h b/dist.h
index 4200bf9f291223d91758c482318415e8409a8e5e..1412424b8da755dbe6a35f2a7d14ae37c36929e5 100644 (file)
--- a/dist.h
+++ b/dist.h
 class Dist {
        
 public:
-       Dist(){dist = 0;}
+       Dist(){ dist = 0; m = MothurOut::getInstance(); }
+       Dist(const Dist& d) : dist(d.dist) { m = MothurOut::getInstance(); }
+       virtual ~Dist() {}
        virtual void calcDist(Sequence, Sequence) = 0;
        double getDist()        {       return dist;    }
+
 protected:
        double dist;
+       MothurOut* m;
 };
 
 /**************************************************************************************************/
 
-#endif
\ No newline at end of file
+#endif