Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ea244d3f1
commit
68d4f832e3
|
@ -89,7 +89,7 @@ public final class FastHadamardTransformerTest {
|
|||
double dResult[] = transformer.transform(dX);
|
||||
for (int i = 0; i < dResult.length; i++) {
|
||||
// compare computed results to precomputed results
|
||||
Assert.assertTrue(Precision.equals((double) y[i], dResult[i], 1));
|
||||
Assert.assertTrue(Precision.equals(y[i], dResult[i], 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ public final class FastHadamardTransformerTest {
|
|||
double dResult[] = transformer.inversetransform(dY);
|
||||
for (int i = 0; i < dResult.length; i++) {
|
||||
// compare computed results to precomputed results
|
||||
Assert.assertTrue(Precision.equals((double) x[i], dResult[i], 1));
|
||||
Assert.assertTrue(Precision.equals(x[i], dResult[i], 1));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue