Opened 11 years ago
Closed 11 years ago
#6805 closed Bugs (fixed)
Infinite loop in do_inverse_discrete_quantile(...)
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | distributions discrete quantiles | Cc: |
Description
#include <boost/math/distributions/binomial.hpp> using boost::math::binomial_distribution; using boost::math::policies::policy; using boost::math::policies::discrete_quantile; binomial_distribution<double, policy<discrete_quantile<boost::math::policies::integer_round_up> > > distribution(100, 1e-10); quantile(distribution, 0.99999999);
This goes into boost\math\distributions\detail\inv_discrete_quantile.hpp's do_inverse_discrete_quantile with guess < 10 and never comes back.
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Investigating...