Relaxed too strict equality test.

JIRA: MATH-588

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-02-05 19:52:49 +00:00
parent e300c944ed
commit c0aa57b1be
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ public abstract class UnivariateStatisticAbstractTest {
// Compare result of weighted statistic computation with direct computation // Compare result of weighted statistic computation with direct computation
// on array of repeated values // on array of repeated values
WeightedEvaluation weightedStatistic = (WeightedEvaluation) statistic; WeightedEvaluation weightedStatistic = (WeightedEvaluation) statistic;
TestUtils.assertRelativelyEquals(statistic.evaluate(repeatedValues), TestUtils.assertEquals(statistic.evaluate(repeatedValues),
weightedStatistic.evaluate(values, weights, 0, values.length), weightedStatistic.evaluate(values, weights, 0, values.length),
10E-14); 10E-14);