This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
commit c60f274650232bcb2835695ea36e146fe0f1d764 Author: Alex Herbert <[email protected]> AuthorDate: Sun Dec 31 23:17:28 2023 +0000 Increase kurtosis tolerance --- .../org/apache/commons/statistics/descriptive/IntKurtosisTest.java | 4 ++-- .../org/apache/commons/statistics/descriptive/LongKurtosisTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/IntKurtosisTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/IntKurtosisTest.java index f70e9a9..40b269a 100644 --- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/IntKurtosisTest.java +++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/IntKurtosisTest.java @@ -67,8 +67,8 @@ final class IntKurtosisTest extends BaseIntStatisticTest<DoubleAsIntStatistic> { @Override protected DoubleTolerance getTolerance() { - // Lower than the DoubleStatistic Kurtosis - return createAbsOrRelTolerance(0, 1e-13); + // Same as the DoubleStatistic Kurtosis + return createAbsOrRelTolerance(0, 3e-13); } @Override diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongKurtosisTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongKurtosisTest.java index 0aac1dd..7ccc139 100644 --- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongKurtosisTest.java +++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongKurtosisTest.java @@ -67,8 +67,8 @@ final class LongKurtosisTest extends BaseLongStatisticTest<DoubleAsLongStatistic @Override protected DoubleTolerance getTolerance() { - // Lower than the DoubleStatistic Kurtosis - return createAbsOrRelTolerance(0, 1e-13); + // Same as the DoubleStatistic Kurtosis + return createAbsOrRelTolerance(0, 3e-13); } @Override
