X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedsabundvector.cpp;h=efd14bcc249207ac4181fc552b8a918d57144083;hp=4aea5890a341ccde6b110c2db37098f99c90aeee;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0 diff --git a/sharedsabundvector.cpp b/sharedsabundvector.cpp index 4aea589..efd14bc 100644 --- a/sharedsabundvector.cpp +++ b/sharedsabundvector.cpp @@ -13,7 +13,7 @@ /***********************************************************************/ -SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){} +SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){ } /***********************************************************************/ @@ -234,6 +234,15 @@ SharedOrderVector SharedSAbundVector::getSharedOrderVector() { exit(1); } } +/***********************************************************************/ + +void SharedSAbundVector::clear(){ + numBins = 0; + maxRank = 0; + numSeqs = 0; + data.clear(); +} + /***********************************************************************/ OrderVector SharedSAbundVector::getOrderVector(map* hold = NULL){ try {