Thomas Neidhart created MATH-1207:
-------------------------------------
Summary: KohonenUpdateActionTest sometimes fails
Key: MATH-1207
URL: https://issues.apache.org/jira/browse/MATH-1207
Project: Commons Math
Issue Type: Bug
Reporter: Thomas Neidhart
Priority: Minor
The KohonenUpdateActionTest sometimes failes with the following output:
{noformat}
KohonenUpdateActionTest
testUpdate :
java.lang.AssertionError
java.lang.AssertionError: expected:<0.0> but was:<5.551115123125783E-17>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:494)
at org.junit.Assert.assertEquals(Assert.java:592)
at
org.apache.commons.math4.ml.neuralnet.sofm.KohonenUpdateActionTest.testUpdate(KohonenUpdateActionTest.java:90)
{noformat}
Investigate why this is happening and fix the test accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)