]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedsabundvector.cpp
fixed metastats, added resize to cluster.classic, added code to kill children if...
[mothur.git] / sharedsabundvector.cpp
index 4aea5890a341ccde6b110c2db37098f99c90aeee..1df608b75974d4460dfdb724c22e984ae2676789 100644 (file)
@@ -234,6 +234,15 @@ SharedOrderVector SharedSAbundVector::getSharedOrderVector() {
                exit(1);
        }
 }
+/***********************************************************************/
+
+void SharedSAbundVector::clear(){
+       numBins = 0;
+       maxRank = 0;
+       numSeqs = 0;
+       data.clear();
+}
+
 /***********************************************************************/
 OrderVector SharedSAbundVector::getOrderVector(map<string,int>* hold = NULL){
        try {