X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedsabundvector.cpp;h=51058cf585fb511655a97d9b1a15d108dab99df5;hb=64eee3a595ae53817f52807d7393b22e74e31f56;hp=3cc80f75fbf08728ca793f0f5147b7e043c85f41;hpb=c5c7502f435e1413c19e373dab1dfebcaa67588d;p=mothur.git diff --git a/sharedsabundvector.cpp b/sharedsabundvector.cpp index 3cc80f7..51058cf 100644 --- a/sharedsabundvector.cpp +++ b/sharedsabundvector.cpp @@ -10,12 +10,10 @@ #include "sharedsabundvector.h" #include "sabundvector.hpp" -using namespace std; - /***********************************************************************/ -SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){}; +SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){} /***********************************************************************/ @@ -27,7 +25,7 @@ SharedSAbundVector::SharedSAbundVector(int size) : DataVector(), maxRank(0), num newGuy.abundance = 0; data.push_back(newGuy); } -}; +} /***********************************************************************/ @@ -253,6 +251,8 @@ SharedOrderVector SharedSAbundVector::getSharedOrderVector() { rav = this->getSharedRAbundVector(); ov = rav.getSharedOrderVector(); + ov.updateStats(); + return ov; } catch(exception& e) {