Commit a06a4376 authored by Andreas Tille's avatar Andreas Tille
Browse files

Follow hint of Fabian Klötzl <kloetzl@evolbio.mpg.de>

parent 46b8060c
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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);
 	}