]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedordervector.cpp
fixed metastats, added resize to cluster.classic, added code to kill children if...
[mothur.git] / sharedordervector.cpp
index 2df67b8d19b1861714aba2746e3326256cdfe2ae..15ee7fc4e414988f86bca49ccd38070a2d96ef22 100644 (file)
@@ -57,7 +57,7 @@ SharedOrderVector::SharedOrderVector(ifstream& f) : DataVector() {  //reads in a
                        }
                }
                
-               gobble(f); 
+               m->gobble(f); 
                
                if (f.eof() != true) { f >> nextLabel; }
                
@@ -81,7 +81,7 @@ SharedOrderVector::SharedOrderVector(ifstream& f) : DataVector() {  //reads in a
                                }
                        }
                        
-                       gobble(f);
+                       m->gobble(f);
                                
                        if (f.eof() != true) { f >> nextLabel; }
 
@@ -171,7 +171,14 @@ void SharedOrderVector::print(ostream& output){
        }
 }
 
+/***********************************************************************/
 
+void SharedOrderVector::clear(){
+       numBins = 0;
+       maxRank = 0;
+       numSeqs = 0;
+       data.clear();
+}
 /***********************************************************************/
 
 void SharedOrderVector::resize(int){