commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yegor Bryukhov" <>
Subject [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions
Date Fri, 01 Feb 2008 16:23:49 GMT
cumulativeProbability((double)x, (double)x) returns 0 for
discrete/integer distributions

I suppose AbstractIntegerDistribution.cumulativeProbability(double,
double) should be overridden to call its (int, int) version instead of
using default one from AbstractDistribution

Best regards,
Yegor Bryukhov,
Research Associate
Center for Algorithms and Interactive Scientific Software
City College of New York

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message