]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedsabundvector.cpp
dist.seqs can now use n processors, and only outputs the phylip formatted distance...
[mothur.git] / sharedsabundvector.cpp
index 7babf1c1f519dc28aa45fab6ec7c378f217499db..51058cf585fb511655a97d9b1a15d108dab99df5 100644 (file)
@@ -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) {