]> git.donarmstrong.com Git - mothur.git/blobdiff - subsamplecommand.cpp
added lefse command. added check for hard filter length. fixed bug in make.biom...
[mothur.git] / subsamplecommand.cpp
index fe79fbbae883a409187730e1899fde8b05493193..9e27fae51eca7ef564892e112d8a17d24eba6089 100644 (file)
@@ -552,7 +552,7 @@ int SubSampleCommand::getSubSampleFasta() {
                     else{
                         itGroupCounts = groupCounts.find(group);
                         if (itGroupCounts != groupCounts.end()) {
-                            if (groupCounts[group] < size) {   subset.insert(names[j]);        groupCounts[group]++; }
+                            if (itGroupCounts->second < size) {        subset.insert(names[j]);        (itGroupCounts->second)++; }
                         }
                     }                          
                 }