X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefact.h;fp=rarefact.h;h=9e903ea759094dfa0f76453801f63111be92315b;hb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;hp=9507d5af84eeadec5046a4fe1967eda508913968;hpb=a218321731df14d231bbc08e79906f757cf1540d;p=mothur.git diff --git a/rarefact.h b/rarefact.h index 9507d5a..9e903ea 100644 --- a/rarefact.h +++ b/rarefact.h @@ -12,9 +12,9 @@ class Rarefact { public: Rarefact(OrderVector* o, vector disp) : - numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel()) {}; + numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel()) { m = MothurOut::getInstance(); } Rarefact(vector shared, vector disp) : - lookup(shared), displays(disp) { globaldata = GlobalData::getInstance(); }; + lookup(shared), displays(disp) { globaldata = GlobalData::getInstance(); m = MothurOut::getInstance(); } ~Rarefact(){}; void getCurve(int, int); @@ -28,6 +28,7 @@ private: string label; void mergeVectors(SharedRAbundVector*, SharedRAbundVector*); vector lookup; + MothurOut* m; };