parijat1222q commented on PR #353: URL: https://github.com/apache/commons-math/pull/353#issuecomment-6784647485
Thanks, I verified the constructor-sorting approach and agree it is better here. It avoids sorting on every quantile call without an extra cached PMF, and keeps CDF and inverse-CDF accumulation in the same order. I've added a regression for that consistency case. The legacy module tests and verification pass. Sorting changes seeded sample sequences and floating-point accumulation order; I have left EnumeratedIntegerDistribution unchanged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
