]> git.donarmstrong.com Git - mothur.git/blobdiff - consensuscommand.cpp
fixes while testing 1.12.0
[mothur.git] / consensuscommand.cpp
index 37cd39578c953e3d843c4cd0892b1be992511a88..2fef5b16a062ed99cd90c2fc43e7617c25d5ee13 100644 (file)
@@ -262,13 +262,13 @@ int ConcensusCommand::getSets() {
                while (nodePairsCopy.size() != 0) {
                        if (m->control_pressed) { return 1; }
                
-                       vector<string> small = getSmallest(nodePairsCopy);
+                       vector<string> smallOne = getSmallest(nodePairsCopy);
                        
-                       int subgrouprate = getSubgroupRating(small);
+                       int subgrouprate = getSubgroupRating(smallOne);
                
-                       nodePairsInitialRate[small] = nodePairs[small] + subgrouprate;
+                       nodePairsInitialRate[smallOne] = nodePairs[smallOne] + subgrouprate;
                        
-                       nodePairsCopy.erase(small);
+                       nodePairsCopy.erase(smallOne);
                }
                
                return 0;