Rename the Length methods Len to follow GO standart

This commit is contained in:
2022-11-17 11:09:58 +01:00
parent eb32089305
commit 29563aa94e
30 changed files with 134 additions and 130 deletions

View File

@ -60,8 +60,8 @@ var _notavail = encodeValues(0, 30000, false)
func FastLCSScore(seqA, seqB *obiseq.BioSequence, maxError int, buffer *[]uint64) (int, int) {
lA := seqA.Length()
lB := seqB.Length()
lA := seqA.Len()
lB := seqB.Len()
// Ensure that A is the longest
if lA < lB {
@ -70,7 +70,7 @@ func FastLCSScore(seqA, seqB *obiseq.BioSequence, maxError int, buffer *[]uint64
}
if maxError == -1 {
maxError = lA*2
maxError = lA * 2
}
delta := lA - lB