Commit 2675ce2c authored by Emmanuel Bourg's avatar Emmanuel Bourg

Removed 02_MATH-1207.patch (fixed upstream)

parent 820c452c
commons-math3 (3.6-3) UNRELEASED; urgency=medium
commons-math3 (3.6.1-1) UNRELEASED; urgency=medium
* New upstream release
- Removed 02_MATH-1207.patch (fixed upstream)
* Standards-Version updated to 3.9.7 (no changes)
* Use secure Vcs-* URLs
......
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.
01_ignore_unstable_tests.diff
02_MATH-1207.patch
03_libjs-mathjax.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment