Re: [Boost-bugs] [Boost C++ Libraries] #8491: boost::random::discrete_distribution ignores the first element

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8491: boost::random::discrete_distribution ignores the first element
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-11 19:22:34


#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:
-------------------------------+---------------------------

Comment (by steven_watanabe):

 by-value is what the standard specifies. In terms of the Boost
 implementation, it has to be by-value, because it's computed on the fly.
 The weights aren't actually stored.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8491#comment:5>
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:15 UTC