X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=rabundvector.cpp;h=6cbaa0d896ad7d47105873c67cdc6d003329b83a;hp=43dbfacc78b845b5d247ba44484b464fd612d590;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0 diff --git a/rabundvector.cpp b/rabundvector.cpp index 43dbfac..6cbaa0d 100644 --- a/rabundvector.cpp +++ b/rabundvector.cpp @@ -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){