]> git.donarmstrong.com Git - mothur.git/blobdiff - decalc.cpp
moved utilities out of mothur.h and into mothurOut class.
[mothur.git] / decalc.cpp
index 94b6c938009bb412ad62420bf6dfea2b6428e6e7..a5a0ec0ed7e35c49440b3ce0ffa0abef91ee951a 100644 (file)
@@ -290,10 +290,10 @@ vector<float> DeCalculator::calcFreq(vector<Sequence*> seqs, string filename) {
        try {
 
                vector<float> prob;
-               string freqfile = getRootName(filename) + "freq";
+               string freqfile = m->getRootName(filename) + "freq";
                ofstream outFreq;
                
-               openOutputFile(freqfile, outFreq);
+               m->openOutputFile(freqfile, outFreq);
                
                outFreq << "#" << m->getVersion() << endl;