Repository: systemml Updated Branches: refs/heads/master 60723c5b6 -> 6f9e1cf9c
[HOTFIX] Fix tolerance in compression par unary aggregate tests This patch changes the absolute tolerance of unary aggregate tests from 1e-12 to 1e-9 for consistency with the large unary aggregate tests and due account for new multi-threaded unary aggregate thresholds. Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/6f9e1cf9 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/6f9e1cf9 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/6f9e1cf9 Branch: refs/heads/master Commit: 6f9e1cf9c402d4811e00d0a924a9eba5974342d5 Parents: 60723c5 Author: Matthias Boehm <[email protected]> Authored: Mon Mar 26 12:19:34 2018 -0700 Committer: Matthias Boehm <[email protected]> Committed: Mon Mar 26 12:19:49 2018 -0700 ---------------------------------------------------------------------- .../test/integration/functions/compress/ParUnaryAggregateTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/6f9e1cf9/src/test/java/org/apache/sysml/test/integration/functions/compress/ParUnaryAggregateTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/sysml/test/integration/functions/compress/ParUnaryAggregateTest.java b/src/test/java/org/apache/sysml/test/integration/functions/compress/ParUnaryAggregateTest.java index cbe43ee..f346bc9 100644 --- a/src/test/java/org/apache/sysml/test/integration/functions/compress/ParUnaryAggregateTest.java +++ b/src/test/java/org/apache/sysml/test/integration/functions/compress/ParUnaryAggregateTest.java @@ -1092,7 +1092,7 @@ public class ParUnaryAggregateTest extends AutomatedTestBase || aggtype == AggType.ROWMINS || aggtype == AggType.ROWMINS)?rows:1; int dim2 = (aggtype == AggType.COLSUMS || aggtype == AggType.COLSUMSSQ || aggtype == AggType.COLMAXS || aggtype == AggType.COLMINS)?cols1:1; - TestUtils.compareMatrices(d1, d2, dim1, dim2, 0.00000000001); + TestUtils.compareMatrices(d1, d2, dim1, dim2, 0.000000001); } catch(Exception ex) { throw new RuntimeException(ex);
