Skip to content
Snippets Groups Projects
Commit 99845dd1 authored by Bienchen's avatar Bienchen
Browse files

Fixing local alignment: last best score is now set to 0 everywhere neccessary

parent 9f2ae1c3
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ bool CollectPatches(impl::AlnMat& mat, int min_i, int max_i, int min_j, int max_ ...@@ -53,7 +53,7 @@ bool CollectPatches(impl::AlnMat& mat, int min_i, int max_i, int min_j, int max_
} }
} }
for (int x=0; x<mat.GetWidth(); ++x) { for (int x=0; x<mat.GetWidth(); ++x) {
for (int y=j; y<mmax_j; ++y) { for (int y=j; y<=mmax_j; ++y) {
mat(x, y).score=0; mat(x, y).score=0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment