From 4093dc0c94b5e27eeeda0eb3299cbed3e5e975f2 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Thu, 19 Oct 2023 13:06:15 +0200 Subject: [PATCH] [FIX] Computation of avg too many elements --- src/util/display_layout/sizes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/display_layout/sizes.cpp b/src/util/display_layout/sizes.cpp index 901b4952..aa8311f3 100644 --- a/src/util/display_layout/sizes.cpp +++ b/src/util/display_layout/sizes.cpp @@ -89,7 +89,7 @@ struct per_level_stats { load_factor[i] /= num_ibfs[i]; max_elements[i] /= num_ibfs[i]; - tbs_too_many_elements[i] /= num_ibfs[i]; + tbs_too_many_elements[i] /= tbs_too_big[i]; } }