Commit e3e6ea56 authored by Mathieu Giraud's avatar Mathieu Giraud

core/kmeraffect.cpp: KSA_UNKNOWN should not be equal to any other KmerStringAffect

parent 244bb10c
......@@ -316,7 +316,7 @@ string KmerStringAffect::toString() const {
}
bool operator==(const KmerStringAffect &k1, const KmerStringAffect &k2) {
return k1.strand == k2.strand && (k1.label == k2.label || k1.strand == 0);
return k1.strand == k2.strand && k1.label == k2.label;
}
bool operator!=(const KmerStringAffect &k1, const KmerStringAffect &k2) {
return ! (k1 == k2);
......
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