From 1826367bae83132eb833b4492f3ed6f4997892e5 Mon Sep 17 00:00:00 2001 From: Evelin Aasna Date: Fri, 11 Oct 2024 16:58:42 +0200 Subject: [PATCH] Slightly above mean --- src/raptor/threshold/threshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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