X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dist.h;h=b914d0d2b1004c56812cea18ea05d0ab1a787ae3;hb=13193e6688c91b6a25e39d357caa7f4b4bf5de5f;hp=4200bf9f291223d91758c482318415e8409a8e5e;hpb=3117b1c3109121dff476997d3c5db5b47a77729b;p=mothur.git diff --git a/dist.h b/dist.h index 4200bf9..b914d0d 100644 --- a/dist.h +++ b/dist.h @@ -17,13 +17,15 @@ class Dist { public: - Dist(){dist = 0;} + Dist(){dist = 0; 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