]> git.donarmstrong.com Git - mothur.git/blobdiff - rabundvector.cpp
working on pam
[mothur.git] / rabundvector.cpp
index 43dbfacc78b845b5d247ba44484b464fd612d590..6cbaa0d896ad7d47105873c67cdc6d003329b83a 100644 (file)
@@ -114,7 +114,15 @@ int RAbundVector::get(int index){
        return data[index];
        
 }
+/***********************************************************************/
 
+void RAbundVector::clear(){
+       numBins = 0;
+       maxRank = 0;
+       numSeqs = 0;
+       data.clear();
+       
+}
 /***********************************************************************/
 
 void RAbundVector::push_back(int binSize){