X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqerrorcommand.cpp;h=99e789399e90c2b2adc429330177e7bd579e8354;hb=75cff1a83a64cd46e9dd603e02597a2bb6a76119;hp=ecd6f0ceb723290337f5856f724710eff7a751ee;hpb=e9845ee4c8db2e044e87d721cc2d94f8d609e03d;p=mothur.git diff --git a/seqerrorcommand.cpp b/seqerrorcommand.cpp index ecd6f0c..99e7893 100644 --- a/seqerrorcommand.cpp +++ b/seqerrorcommand.cpp @@ -643,7 +643,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);