X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqerrorcommand.cpp;h=2bd7054afc33c4f0600683a1b8ebe50a2fd338c4;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=00897dcfee5881be8dfd37d00bbbe705a3d034f3;hpb=859e3a473a3e63e0060c49be70b80f9289253da2;p=mothur.git diff --git a/seqerrorcommand.cpp b/seqerrorcommand.cpp index 00897dc..2bd7054 100644 --- a/seqerrorcommand.cpp +++ b/seqerrorcommand.cpp @@ -666,7 +666,7 @@ int SeqErrorCommand::createProcesses(string filename, string qFileName, string r int misMatchSize; in >> misMatchSize; m->gobble(in); if (misMatchSize > misMatchCounts.size()) { misMatchCounts.resize(misMatchSize, 0); } - for (int j = 0; j < misMatchCounts.size(); j++) { + for (int j = 0; j < misMatchSize; j++) { in >> tempNum; misMatchCounts[j] += tempNum; } m->gobble(in);