From de3744b8801b96c139c4243efc530e7871532c2f Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 12 Jan 2025 15:16:07 -0800 Subject: [PATCH] Truncating 2 or fewer tests does not make sense. --- test.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.html b/test.html index 72b7484..85379ae 100644 --- a/test.html +++ b/test.html @@ -33,7 +33,7 @@ SPDX-License-Identifier: GPL-3.0-or-later logarithms += Math.log(times[i]) min = Math.min(min, times[i]) max = Math.max(max, times[i]) - if (i > (count * 0.1) && i < (count * 0.9)) truncated += times[i] + if (count > 2 && i > (count * 0.1) && i < (count * 0.9)) truncated += times[i] } return { count: count, -- 2.34.1