commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1207) KohonenUpdateActionTest sometimes fails
Date Sun, 08 Mar 2015 23:49:38 GMT

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

Mime
View raw message