This is an automated email from the git hooks/post-receive script. tmancill pushed a commit to branch master in repository commons-math3.
commit 13b46263073e5435f48fb06b4c97c9083c564add Author: tony mancill <[email protected]> Date: Sun Sep 20 17:37:56 2015 -0700 add patch for MATH-1207 test error --- debian/patches/02_MATH-1207.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) diff --git a/debian/patches/02_MATH-1207.patch b/debian/patches/02_MATH-1207.patch new file mode 100644 index 0000000..a246794 --- /dev/null +++ b/debian/patches/02_MATH-1207.patch @@ -0,0 +1,13 @@ +X-Git-Url: https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fapache%2Fcommons%2Fmath4%2Fml%2Fneuralnet%2Fsofm%2FKohonenUpdateActionTest.java;h=7a064cfc0863c390f6266ed806589eb7bcea39cd;hp=9051dd65e79271d92c80989d86931a6f67cea435;hb=86eb3a2fa74988e4ccf3aae7f4b77edb84555320;hpb=0a5cd11327d50e5906fb4dc08bce5baea6b2d247 + +--- a/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java ++++ b/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java +@@ -82,7 +82,7 @@ + + Assert.assertEquals(bestBefore, bestAfter); + // Distance is now zero. +- Assert.assertEquals(0, dist.compute(bestAfter.getFeatures(), features), 0d); ++ Assert.assertEquals(0, dist.compute(bestAfter.getFeatures(), features), 1e-16); + + for (int i = 0; i < netSize; i++) { + // All distances have decreased. diff --git a/debian/patches/series b/debian/patches/series index 52e4e61..e262185 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01_ignore_unstable_tests.diff +02_MATH-1207.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-math3.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

