You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2015/03/09 00:49:38 UTC

[jira] [Commented] (MATH-1207) KohonenUpdateActionTest sometimes fails

    [ https://issues.apache.org/jira/browse/MATH-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352353#comment-14352353 ] 

Gilles commented on MATH-1207:
------------------------------

Could be related to numerical accuracy.
Tolerance increased in commit 86eb3a2fa74988e4ccf3aae7f4b77edb84555320


> 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)