X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getseqscommand.cpp;h=a1cf493f9e515f91ed962726b392426db9efd978;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=44c4042073636f1c3419075dfcacea8bdd4f72e9;hpb=89cfcfcc9e648d2f956f2ff419e64ba7907106d2;p=mothur.git diff --git a/getseqscommand.cpp b/getseqscommand.cpp index 44c4042..a1cf493 100644 --- a/getseqscommand.cpp +++ b/getseqscommand.cpp @@ -737,8 +737,8 @@ int GetSeqsCommand::readList(){ m->splitAtComma(binnames, bnames); string newNames = ""; - for (int i = 0; i < bnames.size(); i++) { - string name = bnames[i]; + for (int j = 0; j < bnames.size(); j++) { + string name = bnames[j]; //if that name is in the .accnos file, add it if (names.count(name) != 0) { newNames += name + ","; selectedCount++; if (m->debug) { sanity["list"].insert(name); } } }