Commit d61e9643 authored by Mathieu Giraud's avatar Mathieu Giraud

core/kmerstore.h: MAX1U, when the kmer is unknown, .getIndexLoad() is reversed

parent 7348a553
......@@ -282,7 +282,7 @@ void IKmerStore<T>::insert(const seqtype &sequence,
template<class T>
float IKmerStore<T>::getIndexLoad(const T kmer) const {
return getIndexLoad();
return kmer.isUnknown() ? 1 - getIndexLoad() : getIndexLoad();
template<class T>
float IKmerStore<T>::getIndexLoad() const {
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