[
https://issues.apache.org/jira/browse/MATH-840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles resolved MATH-840.
-------------------------
Resolution: Fixed
Fix Version/s: 3.1
Fixed in revision 1369514.
> Failures in "FastMathTestPerformance" when testRuns >= 10,000,002
> -----------------------------------------------------------------
>
> Key: MATH-840
> URL: https://issues.apache.org/jira/browse/MATH-840
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Gilles
> Priority: Trivial
> Labels: test
> Fix For: 3.1
>
>
> Tests for methods "asin" and "acos" fail because they use
> {code}
> i / 10000000.0
> {code}
> as the argument to those methods, where "i" goes from 0 to the value of
> "testRuns" minus one (if "testRuns" is defined).
> A solution is to replace the above with
> {code}
> i / (double) RUNS
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira