MesquiteProject/MesquiteCore — pull request #20 by traviswheeler (2014-05-16 18:53:07+00:00)
Title: Fixing alignment routines, both linear-space and quadratic-space

(1) Fixed an edge-case in the linear-space aligner, in which fillBackward
failed to correctly set the terminal gap costs, because of the used of
the wrong test condition (lengthB should've been LengthA).

(2) Fixed unrelated bugs that also affected terminal gaps in the
quadratic-space aligner: (a) terminal costs weren't being correctly passed
in to the aligner, and (b) and the values for the first row and column of
the DP table were not correctly scoring impossible cells.