[Bug libstdc++/57674] wrong distribution for std::binomial_distribution::operator()(g,param)
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 22 17:58:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57674
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-06-22
Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com
Target Milestone|--- |4.8.2
Ever confirmed|0 |1
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thanks. It's indeed a stupid bug, but I would call it thinko more than typo (in
jargon): what is happening is that the operator (_M_waiting in particular) is
using the _M_q of the distribution itself (stored in _M_param._M_q), instead of
that coming with param, aka param._M_q. I'll fix it asap.
More information about the Gcc-bugs
mailing list