[Sequence] Fixed computation error and asan fails

Change-Id: Ib3a619d29bee5cc6f10b939ee066459a5b135c5d
This commit is contained in:
Arthur Camouseigt
2020-10-01 16:18:39 +02:00
committed by Émilie Feral
parent 86d0c19293
commit bf95b460c3
6 changed files with 18 additions and 8 deletions

View File

@@ -243,7 +243,6 @@ T Sequence::approximateToNextRank(int n, SequenceContext * sqctx, int sequenceIn
symbols[i][j] = Symbol::Builder(name[j], strlen(name[j]));
}
}
ctx.setNValue(n);
switch (type()) {
case Type::Explicit:
{