Commit 153bc323 authored by Mikaël Salson's avatar Mikaël Salson

kmeraffect.cpp: Use predicates when available

parent 393b81a3
......@@ -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