diff --git a/src/raptor/threshold/threshold.cpp b/src/raptor/threshold/threshold.cpp index 1c539665..8cb6bee5 100644 --- a/src/raptor/threshold/threshold.cpp +++ b/src/raptor/threshold/threshold.cpp @@ -63,7 +63,7 @@ size_t threshold::get(size_t const minimiser_count) const noexcept size_t threshold::minimizer_count_repeat_cutoff() const noexcept { - return (size_t) std::round((maximal_number_of_minimizers - minimal_number_of_minimizers) / 4.0); + return (size_t) minimal_number_of_minimizers + std::round((maximal_number_of_minimizers - minimal_number_of_minimizers) / 4.0); } } // namespace raptor::threshold