Skip to content

Commit

Permalink
Slightly above mean
Browse files Browse the repository at this point in the history
  • Loading branch information
eaasna committed Oct 11, 2024
1 parent 03b22fa commit 1826367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raptor/threshold/threshold.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1826367

Please sign in to comment.