From a34b4bb63477d3aeb271ed3238ce15b75d8f75cb Mon Sep 17 00:00:00 2001 From: Jaebeom Kim Date: Fri, 2 Aug 2024 20:30:24 +0900 Subject: [PATCH] Fix a typo that causes Seg Fault --- src/commons/QueryIndexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commons/QueryIndexer.cpp b/src/commons/QueryIndexer.cpp index c880606f..5ffab57c 100644 --- a/src/commons/QueryIndexer.cpp +++ b/src/commons/QueryIndexer.cpp @@ -97,7 +97,7 @@ void QueryIndexer::indexQueryFile(size_t processedQueryNum) { readNum_2++; seqCnt_2++; totalReadLength += kseq_2->entry.sequence.l; - kmerCnt_int_2 = LocalUtil::getQueryKmerNumber(kseq_1->entry.sequence.l, spaceNum); + kmerCnt_int_2 = LocalUtil::getQueryKmerNumber(kseq_2->entry.sequence.l, spaceNum); } else { end = true; }