Fixed a bug related to the score returned.

This commit is contained in:
Mustafa Ozdal 2014-08-07 13:50:42 -07:00
parent c1df343740
commit 0a6f2660b4
1 changed files with 2 additions and 2 deletions

View File

@ -306,8 +306,8 @@ DIST_TYPE edit_dist(uint8_t* refSeq, int refLen, uint8_t* querySeq, int queryLen
#endif
alignedQLenLow = alignedQLenHigh = queryLen ;
alignedRLenLow = alignedRLenHigh = queryLen ;
maxScoreLow = queryLen - hdist - hdist * 6 ;
maxScoreHigh = queryLen - hdist - hdist * 4 ;
maxScoreLow = initScore + queryLen - hdist - hdist * 6 ;
maxScoreHigh = initScore + queryLen - hdist - hdist * 4 ;
return hdist ;
}