]> git.donarmstrong.com Git - mothur.git/blobdiff - metastatscommand.cpp
fixed order of unifrac commands so that it matches the summary commands
[mothur.git] / metastatscommand.cpp
index a94c72cb4649c9136175bb75cb3c49846dbcdb1e..7d1f4df1e95fa10241225ca20dba35c1f069d6ff 100644 (file)
@@ -177,7 +177,7 @@ int MetaStatsCommand::execute(){
                
                int numGroups = Sets.size();
                for (int a=0; a<numGroups; a++) { 
-                       for (int l = a+1; l < numGroups; l++) { 
+                       for (int l = 0; l < a; l++) {   
                                vector<string> groups; groups.push_back(Sets[a]); groups.push_back(Sets[l]);
                                namesOfGroupCombos.push_back(groups);
                        }