diff --git a/src/libecoprimer/pairs.c b/src/libecoprimer/pairs.c index 88fc9f5..64d8905 100644 --- a/src/libecoprimer/pairs.c +++ b/src/libecoprimer/pairs.c @@ -320,15 +320,15 @@ static void buildPrimerPairsForOneSeq(uint32_t seqid, w1a = extractSite(seqdb[seqid]->SQ,bp1,options->primer_length,strand); //get word of second approximate repeat w2a = extractSite(seqdb[seqid]->SQ,bp2,options->primer_length,!strand); - + w1 = w1 & omask; //keep only strict_three_prime bases on the right (3') end w2 = w2 & omask; //keep only strict_three_prime bases on the right (3') end w1a = w1a & omask; //keep only strict_three_prime bases on the right (3') end w2a = w2a & omask; //keep only strict_three_prime bases on the right (3') end - + //now check that both words and primers of amplifia have same bases on 3' end - if (w1 ^ w1a != 0) continue; - else if (w2 ^ w2a != 0) continue; + if ((w1 ^ w1a) != 0) continue; + if ((w2 ^ w2a) != 0) continue; }