Commit 0a8da82d authored by Mikaël Salson's avatar Mikaël Salson

kmeraffect.cpp: Use predicates when available

parent 75aa7385
......@@ -106,7 +106,7 @@ KmerAffect::KmerAffect(const string &label,
KmerAffect &KmerAffect::operator+=(const KmerAffect &kmer) {
if (kmer.affect != affect) {
if (affect == AFFECT_UNKNOWN)
if (isUnknown())
affect = kmer.affect;
else if (affect_char(affect) == affect_char(kmer.affect)
&& (affect_strand(affect) != affect_strand(kmer.affect)))
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