Re: [Boost-bugs] [Boost C++ Libraries] #6059: uniform_real_distribution fails when _min = _max

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6059: uniform_real_distribution fails when _min = _max
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-25 21:08:12


#6059: uniform_real_distribution fails when _min = _max
----------------------------------------+-----------------------------------
  Reporter: dario.izzo@… | Owner: steven_watanabe
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: random
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by steven_watanabe):

 min == max is illegal, because the range [min, max) is empty. Thus there
 are no legal values for the distribution to produce.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6059#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:07 UTC