X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedsabundvector.cpp;h=51058cf585fb511655a97d9b1a15d108dab99df5;hb=4f4070ac3fbb5da75f834b48062e9123364b006e;hp=7babf1c1f519dc28aa45fab6ec7c378f217499db;hpb=bfbc55964f1977da72c2cea984288a427d370a59;p=mothur.git diff --git a/sharedsabundvector.cpp b/sharedsabundvector.cpp index 7babf1c..51058cf 100644 --- a/sharedsabundvector.cpp +++ b/sharedsabundvector.cpp @@ -9,14 +9,11 @@ #include "sharedsabundvector.h" #include "sabundvector.hpp" -#include "utilities.hpp" - -using namespace std; /***********************************************************************/ -SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){}; +SharedSAbundVector::SharedSAbundVector() : DataVector(), maxRank(0), numBins(0), numSeqs(0){} /***********************************************************************/ @@ -28,7 +25,7 @@ SharedSAbundVector::SharedSAbundVector(int size) : DataVector(), maxRank(0), num newGuy.abundance = 0; data.push_back(newGuy); } -}; +} /***********************************************************************/ @@ -254,6 +251,8 @@ SharedOrderVector SharedSAbundVector::getSharedOrderVector() { rav = this->getSharedRAbundVector(); ov = rav.getSharedOrderVector(); + ov.updateStats(); + return ov; } catch(exception& e) {