[med-svn] [Git][med-team/mash][upstream] New upstream version 2.2.2+dfsg
Sascha Steinbiss
gitlab at salsa.debian.org
Wed Oct 23 17:42:35 BST 2019
Sascha Steinbiss pushed to branch upstream at Debian Med / mash
Commits:
c24e551d by Sascha Steinbiss at 2019-10-23T16:39:49Z
New upstream version 2.2.2+dfsg
- - - - -
2 changed files:
- src/mash/Sketch.cpp
- src/mash/version.h
Changes:
=====================================
src/mash/Sketch.cpp
=====================================
@@ -534,17 +534,19 @@ void addMinHashes(MinHashHeap & minHashHeap, char * seq, uint64_t length, const
reverseComplement(seq, seqRev, length);
}
+ uint64_t j = 0;
+
for ( uint64_t i = 0; i < length - kmerSize + 1; i++ )
{
// repeatedly skip kmers with bad characters
//
bool bad = false;
//
- for ( uint64_t j = i; j < i + kmerSize && i + kmerSize <= length; j++ )
+ for ( ; j < i + kmerSize && i + kmerSize <= length; j++ )
{
if ( ! parameters.alphabet[seq[j]] )
{
- i = j; // skip to past the bad character
+ i = j++; // skip to past the bad character
bad = true;
break;
}
=====================================
src/mash/version.h
=====================================
@@ -4,4 +4,4 @@
//
// See the LICENSE.txt file included with this software for license information.
-static const char * version = "2.2";
+static const char * version = "2.2.2";
View it on GitLab: https://salsa.debian.org/med-team/mash/commit/c24e551d8cc988d7536a767985075dd622ef11be
--
View it on GitLab: https://salsa.debian.org/med-team/mash/commit/c24e551d8cc988d7536a767985075dd622ef11be
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191023/791f3d3b/attachment-0001.html>
More information about the debian-med-commit
mailing list