X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rabundvector.cpp;fp=rabundvector.cpp;h=6cbaa0d896ad7d47105873c67cdc6d003329b83a;hb=89f19f9c6ab89c2f6c7c6921a328ae87bce6f8e3;hp=43dbfacc78b845b5d247ba44484b464fd612d590;hpb=cbb336d5650cfe1f83a398a837794dcfbbbd3756;p=mothur.git 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){