Commit 971938df authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Representative: break should be continue.

If we don't find the required sequence we must skip to the next sequence, not
skip all the remaining sequences!
parent ffb5cab0
......@@ -121,7 +121,7 @@ void KmerRepresentativeComputer::compute() {
size_t pos_end_required = pos_required + required.length();
if (pos_required == string::npos) {
break;
continue;
}
vector<Kmer> counts = index->getResults(sequence.sequence);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment