From: Chris Duncan Date: Sun, 12 Jan 2025 23:16:07 +0000 (-0800) Subject: Truncating 2 or fewer tests does not make sense. X-Git-Tag: v1.2.0~3 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=de3744b8801b96c139c4243efc530e7871532c2f;p=nano-pow.git Truncating 2 or fewer tests does not make sense. --- 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,