X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sabundvector.cpp;h=1bceec210779221ce0dfce33886b177e5250efd8;hp=6e4401bab964db2755e7ce1bb9f39c67703bf864;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0 diff --git a/sabundvector.cpp b/sabundvector.cpp index 6e4401b..1bceec2 100644 --- a/sabundvector.cpp +++ b/sabundvector.cpp @@ -153,7 +153,13 @@ void SAbundVector::print(string prefix, ostream& output){ } output << endl; } - +/***********************************************************************/ +void SAbundVector::clear(){ + numBins = 0; + maxRank = 0; + numSeqs = 0; + data.clear(); +} /***********************************************************************/ void SAbundVector::print(ostream& output){ try {