You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2023/12/30 09:07:05 UTC
(commons-statistics) branch master updated: Increase test tolerance comparing long sum to double sum
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
The following commit(s) were added to refs/heads/master by this push:
new 25b78ed Increase test tolerance comparing long sum to double sum
25b78ed is described below
commit 25b78edca90edae1c86ac6eca996bbde989e4b56
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Dec 30 09:06:54 2023 +0000
Increase test tolerance comparing long sum to double sum
---
.../java/org/apache/commons/statistics/descriptive/LongSumTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongSumTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongSumTest.java
index 3f94c4f..cfdcfa0 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongSumTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/LongSumTest.java
@@ -57,7 +57,7 @@ final class LongSumTest extends BaseLongStatisticTest<LongSum> {
// Floating-point sum may be inexact.
// Currently the double sum matches on the standard test data.
// It fails on large random data added in streamTestData().
- return DoubleTolerances.ulps(20);
+ return DoubleTolerances.ulps(80);
}
@Override