Skip to content

Conversation

@tongxin97
Copy link
Contributor

For detailed description of the issue, see: https://issues.apache.org/jira/browse/MATH-1559

If we just want to change the test so that it will always pass, this PR achieves it by setting a small epsilon (1e-15) in assertEquals(0.5, distribution.probability(2), 1e-15). Otherwise to fix the issue, the source code, in particular MathArrays.normalizeArray() needs change.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.713% when pulling bc61789 on tongxin97:fix-testCreateFromDoubles into 43b77ff on apache:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants