Loading debian/patches/0004-signed.patch +20 −0 Original line number Diff line number Diff line Loading @@ -80,3 +80,23 @@ Description: Fix some types uint pos=matchPos[o]; c= seqData[j+pos]; w|=(unsigned long long) alphabet[c] << bits; --- a/src/patternset.cpp +++ b/src/patternset.cpp @@ -184,17 +184,6 @@ void patternset::ReInit(){ * Checks, if bitmode is possible. */ void patternset::CheckParams(){ - if(size < 0){ - size = std::abs(size); - if(size <= 0){ - size = 10; - update = true; - } - } - if(max_dontcare < 0 || min_dontcare < 0){ - max_dontcare = std::abs(max_dontcare); - min_dontcare = std::abs(min_dontcare); - } if(max_dontcare < min_dontcare){ std::swap(max_dontcare,min_dontcare); } Loading
debian/patches/0004-signed.patch +20 −0 Original line number Diff line number Diff line Loading @@ -80,3 +80,23 @@ Description: Fix some types uint pos=matchPos[o]; c= seqData[j+pos]; w|=(unsigned long long) alphabet[c] << bits; --- a/src/patternset.cpp +++ b/src/patternset.cpp @@ -184,17 +184,6 @@ void patternset::ReInit(){ * Checks, if bitmode is possible. */ void patternset::CheckParams(){ - if(size < 0){ - size = std::abs(size); - if(size <= 0){ - size = 10; - update = true; - } - } - if(max_dontcare < 0 || min_dontcare < 0){ - max_dontcare = std::abs(max_dontcare); - min_dontcare = std::abs(min_dontcare); - } if(max_dontcare < min_dontcare){ std::swap(max_dontcare,min_dontcare); }