]> git.donarmstrong.com Git - mothur.git/blobdiff - rabundvector.cpp
bugs fixes while testing for 1.5 release
[mothur.git] / rabundvector.cpp
index 7d6247001c645b4b312d0e6599d0c4996fffa44b..e01063dad484f2328a714b0cbf8cff15c445b169 100644 (file)
@@ -289,15 +289,16 @@ SAbundVector RAbundVector::getSAbundVector() {
 OrderVector RAbundVector::getOrderVector(map<string,int>* nameMap = NULL) {
        try {
                OrderVector ov;
-       
+
                for(int i=0;i<data.size();i++){
                        for(int j=0;j<data[i];j++){
                                ov.push_back(i);
                        }
                }
                random_shuffle(ov.begin(), ov.end());
-
                ov.setLabel(label);     
+               ov.getNumBins();
+
                return ov;
        }
        catch(exception& e) {