X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sabundvector.cpp;h=1bceec210779221ce0dfce33886b177e5250efd8;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=6e4401bab964db2755e7ce1bb9f39c67703bf864;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git 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 {