X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=dist.h;h=1412424b8da755dbe6a35f2a7d14ae37c36929e5;hp=6e42ae33d095be047bffc222cbf07bde85a8424e;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=02909d6cae9963ba00dc746969a370fa8ca934fc diff --git a/dist.h b/dist.h index 6e42ae3..1412424 100644 --- a/dist.h +++ b/dist.h @@ -17,14 +17,17 @@ 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