Re: [Boost-bugs] [Boost C++ Libraries] #6053: uniform_real goes into an infinite loop when lb=ub

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6053: uniform_real goes into an infinite loop when lb=ub
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-01 16:57:45


#6053: uniform_real goes into an infinite loop when lb=ub
----------------------------------------+-----------------------------------
  Reporter: dario.izzo@… | Owner: no-maintainer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: random
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by Edward Rudd <urkle@…>):

 Can we have the BOOST_ASSERT in the constructor changed to assert that
 _min < _max instead of _min <= _max ? since _min == _max is not a
 supported set of parameters? (according to #5059)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6053#comment:4>
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:10 UTC