]> git.donarmstrong.com Git - mothur.git/blobdiff - suffixtree.cpp
changed random forest output filename
[mothur.git] / suffixtree.cpp
index 2842b366b3360f4b43ad32dd28603073266dcdfa..9cd835185c31a61bd024590f5a3fc7396d31610f 100644 (file)
@@ -35,7 +35,7 @@ inline bool compareParents(SuffixNode* left, SuffixNode* right){//    this is neces
 
 //********************************************************************************************************************
 
-SuffixTree::SuffixTree(){}
+SuffixTree::SuffixTree(){ m = MothurOut::getInstance(); }
 
 //********************************************************************************************************************
 
@@ -75,7 +75,7 @@ string SuffixTree::getSeqName()       {
 void SuffixTree::print(){
        vector<SuffixNode*> hold = nodeVector;
        sort(hold.begin(), hold.end(), compareParents);
-       mothurOut("Address\t\tParent\tNode\tSuffix\tStartC\tEndC\tSuffix"); mothurOutEndLine();
+       m->mothurOut("Address\t\tParent\tNode\tSuffix\tStartC\tEndC\tSuffix"); m->mothurOutEndLine();
        for(int i=1;i<=nodeCounter;i++){
                hold[i]->print(sequence, i);
        }