Commit 088b5c09 by Eric Coissac

fixed a small problem of operator precedence in "if (w1 ^ w1a != 0) continue;"…

fixed a small problem of operator precedence in "if (w1 ^ w1a != 0) continue;" by adding parentheses.  

git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPrimers/trunk@233 60f365c0-8329-0410-b2a4-ec073aeeaa1d
parent f1f85629
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment