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:
parent
e300c944ed
commit
c0aa57b1be
|
@ -210,7 +210,7 @@ public abstract class UnivariateStatisticAbstractTest {
|
|||
// Compare result of weighted statistic computation with direct computation
|
||||
// on array of repeated values
|
||||
WeightedEvaluation weightedStatistic = (WeightedEvaluation) statistic;
|
||||
TestUtils.assertRelativelyEquals(statistic.evaluate(repeatedValues),
|
||||
TestUtils.assertEquals(statistic.evaluate(repeatedValues),
|
||||
weightedStatistic.evaluate(values, weights, 0, values.length),
|
||||
10E-14);
|
||||
|
||||
|
|
Loading…
Reference in New Issue