Skip to content
Permalink
Browse files

fixed comparison bug in kmermatcher

  • Loading branch information...
AnnSeidel committed Oct 9, 2019
1 parent 2f4b77c commit 274752cb0d4a1d07b6a60061952ed9d5ba8fe2cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/linclust/kmermatcher.cpp
@@ -1149,7 +1149,7 @@ void writeKmersToDisk(std::string tmpFile, KmerPosition<seqLenType> *hashSeqPair
reverse += isReverse == true;
}
kmerPos++;
}while(targetId == hashSeqPair[kmerPos].id && hashSeqPair[kmerPos].id == diagonal && kmerPos < totalKmers && hashSeqPair[kmerPos].kmer != SIZE_T_MAX);
}while(targetId == hashSeqPair[kmerPos].id && hashSeqPair[kmerPos].pos == diagonal && kmerPos < totalKmers && hashSeqPair[kmerPos].kmer != SIZE_T_MAX);
kmerPos--;

elemenetCnt++;

0 comments on commit 274752c

Please sign in to comment.
You can’t perform that action at this time.