Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.6.1
-
None
-
None
-
Windows
Description
Hi,
Unless I am mistaken the HypergeometricDistribution probability method returns NaN for the following cases :
HypergeometricDistribution hgd = new HypergeometricDistribution(11,11,1);
double probIT = hgd.probability(1);
HypergeometricDistribution hgd = new HypergeometricDistribution(11,11,11);
double probIT = hgd.probability(11);
I think it should return 1.0
Thanks,
Thomas
Attachments
Attachments
Issue Links
- is duplicated by
-
MATH-1384 HypergeometricDistribution logProbability() returns NaN for edge cases
- Resolved