Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8491: boost::random::discrete_distribution ignores the first element
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-29 19:54:14
#8491: boost::random::discrete_distribution ignores the first element
------------------------------------+---------------------------------------
Reporter: astralstorm@⦠| Owner: no-maintainer
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: random
Version: Boost 1.53.0 | Severity: Showstopper
Resolution: invalid | Keywords:
------------------------------------+---------------------------------------
Changes (by steven_watanabe):
* status: new => closed
* resolution: => invalid
Comment:
Negative weights are not allowed. I have no idea what behavior you expect
from this.
"... w_k, commonly known as the weights, shall be non-negative, non-NaN,
and non-infinity." (C++11 26.5.8.6.1 [rand.dist.samp.discrete])
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8491#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC