We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7894e6 commit aba17d5Copy full SHA for aba17d5
src/hash.c
@@ -23,7 +23,7 @@ static R_INLINE size_t get_full_size(size_t n_elements, double load_factor) {
23
// precondition: n / load_factor < SIZE_MAX
24
// this is implemented a bit stricter than needed and would fail some almost-too-high sizes
25
// due to the size_t -> double conversion
26
- if ((size_t)((double)SIZE_MAX * load_factor) <= n_elements) internal_error(
+ if ((size_t)((double)SIZE_MAX * load_factor) <= n_elements) internal_error( // # nocov
27
__func__, "n=%zu / load_factor=%g would overflow size_t",
28
n_elements, load_factor
29
);
0 commit comments