diff --git a/src/containers/haplotype_set.h b/src/containers/haplotype_set.h index 8eaf7e8..495f8b8 100644 --- a/src/containers/haplotype_set.h +++ b/src/containers/haplotype_set.h @@ -47,7 +47,7 @@ struct IBD2track { return ((ind==rhs.ind) && (rhs.to >= from) && (rhs.from <= to)); } - bool merge (const IBD2track & rhs) { + void merge (const IBD2track & rhs) { from = min(from, rhs.from); to = max(to, rhs.to); }