X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=normalizesharedcommand.cpp;h=51c755cc6bdc91d767e56c79771bfe1d81fef2c4;hb=8742edef7a51b82834289e570d336f5a81ba1f2b;hp=1066ab7c33b81cbb230e9f8985fa101c65672c7b;hpb=1bf53bca7e26bf091588bc8ca6e68cbfae1df6fe;p=mothur.git diff --git a/normalizesharedcommand.cpp b/normalizesharedcommand.cpp index 1066ab7..51c755c 100644 --- a/normalizesharedcommand.cpp +++ b/normalizesharedcommand.cpp @@ -643,7 +643,7 @@ int NormalizeSharedCommand::eliminateZeroOTUS(vector& thisl newLookup[j]->push_back(thislookup[j]->getAbundance(i), thislookup[j]->getGroup()); } //if there is a bin label use it otherwise make one - string binLabel = "Otu" + (i+1); + string binLabel = "Otu" + toString(i+1); if (i < m->currentBinLabels.size()) { binLabel = m->currentBinLabels[i]; } newBinLabels.push_back(binLabel); @@ -692,7 +692,7 @@ int NormalizeSharedCommand::eliminateZeroOTUS(vector& newLookup[j]->push_back(thislookup[j]->getAbundance(i), thislookup[j]->getGroup()); } //if there is a bin label use it otherwise make one - string binLabel = "Otu" + (i+1); + string binLabel = "Otu" + toString(i+1); if (i < m->currentBinLabels.size()) { binLabel = m->currentBinLabels[i]; } newBinLabels.push_back(binLabel);