patch a low level bug in EnsureCapacity

Former-commit-id: 2d50dc6923e7cfca9b864fb885577c1d1f936fc1
This commit is contained in:
coissac committed 2024-01-16 20:51:45 +01:00
1 parent 6fca03227a
commit 3c48bafab0
2 files changed
+13 -3

No files matched your search

-1
View File
@@ -138,7 +138,6 @@ func FindGeomClosest(sequence *obiseq.BioSequence,
}
matches := obiseq.MakeBioSequenceSlice(len(min_idx))
matches = matches[0:len(min_idx)]
for i, j := range min_idx {
matches[i] = (*references)[j]
}