Skip to content
Snippets Groups Projects
Commit 570f0e12 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

bugfix

parent 7b0c0412
Branches
Tags
No related merge requests found
......@@ -118,6 +118,7 @@ void SeqToPentamerIndices(const String& seq, bool unique, std::vector<int>& indi
}
indices.resize(N-4);
if(unique) {
std::sort(indices.begin(), indices.end());
auto last = std::unique(indices.begin(), indices.end());
indices.erase(last, indices.end());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment